Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
app := fiber.New()
|
||||
|
||||
app.Get("/", func (c *fiber.Ctx) error {
|
||||
return c.SendString("Hello, World!")
|
||||
})
|
||||
|
||||
log.Fatal(app.Listen(":3000"))
|
||||
}
|
||||
3
{{cookiecutter.project_name}}/go.mod
Normal file
3
{{cookiecutter.project_name}}/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module {{cookiecutter.module_path}}
|
||||
|
||||
go 1.20
|
||||
Reference in New Issue
Block a user