Fix wrong go types
This commit is contained in:
15
{{cookiecutter.project_name}}/internal/app/api/v1/router.go
Normal file
15
{{cookiecutter.project_name}}/internal/app/api/v1/router.go
Normal file
@ -0,0 +1,15 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
func ConfigureRoutes(router fiber.Router) error {
|
||||
v1 := router.Group("/v1")
|
||||
|
||||
v1.Get("/ping", func(c *fiber.Ctx) error {
|
||||
return c.SendString("pong")
|
||||
})
|
||||
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user