go-tsviewer/features/index/routes.go

16 lines
200 B
Go
Raw Normal View History

2019-01-17 21:09:41 +00:00
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
}