Start the admin panels.
This commit is contained in:
parent
736095a5aa
commit
02910b8b93
1 changed files with 10 additions and 0 deletions
10
admin/handlers.go
Normal file
10
admin/handlers.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
package admin
|
||||
|
||||
|
||||
func GetPageIndex(c *fiber.Ctx) error {
|
||||
c.Render("admin/index", fiber.Map{})
|
||||
}
|
||||
|
||||
func Setup(app *fiber.App) {
|
||||
app.Get("/admin/", GetIndex);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue