You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
233 B
Go
13 lines
233 B
Go
2 years ago
|
package home
|
||
|
|
||
|
import (
|
||
|
homeController "github.com/ajikamaludin/go-fiber-rest/app/controllers/home"
|
||
|
"github.com/gofiber/fiber/v2"
|
||
|
)
|
||
|
|
||
|
func HomeRoutes(app *fiber.App) {
|
||
|
route := app.Group("/")
|
||
|
|
||
|
route.Get("/", homeController.Home)
|
||
|
}
|