Added templating, versioning, middleware, etc

This commit is contained in:
2023-11-24 14:27:23 -05:00
parent cd7003223a
commit 92d8e5fa09
11 changed files with 82 additions and 2 deletions

12
web/routes.go Normal file
View File

@ -0,0 +1,12 @@
package web
import (
"github.com/flamego/flamego"
"git.metaunix.net/bitgoblin/blt/web/routes"
)
func RegisterRoutes(f *flamego.Flame) {
// index routes
f.Get("/", routes.GetDashboard)
}