15 lines
200 B
Go
15 lines
200 B
Go
package index
|
|
|
|
import (
|
|
"html/template"
|
|
|
|
"github.com/go-chi/chi"
|
|
)
|
|
|
|
func GUIRoutes(t template.Template) *chi.Mux {
|
|
router := chi.NewRouter()
|
|
|
|
router.Get("/", IndexGUIHandler(t))
|
|
|
|
return router
|
|
}
|