package routers import ( "github.com/gofiber/fiber/v2" "gopkg.cloudyne.io/go-fiber-template/controllers" ) func Example(app *fiber.App) { app.Get("/", controllers.FrontendExample) // app.Get("/api/v1/example/", controllers.ListExample) // app.Get("/api/v1/example/:id/", controllers.GetExample) // app.Post("/api/v1/example/", controllers.CreateExample) // app.Patch("/api/v1/example/:id/", controllers.UpdateExample) // app.Delete("/api/v1/example/:id/", controllers.DeleteExample) }