forked from Cliffbreak/tsviewer
16 lines
200 B
Go
16 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
|
||
|
}
|