You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
quartermaster/pkg/api/locations/router.go

13 lines
258 B

package locations
import (
"github.com/dustinpianalto/quartermaster/internal/utils"
"github.com/gorilla/mux"
)
func GetRouter() *mux.Router {
router := mux.NewRouter().StrictSlash(true)
router.Handle("/", utils.RootHandler(locations))
return router
}