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