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.
15 lines
343 B
15 lines
343 B
package app
|
|
|
|
import (
|
|
"git.mnrva.dev/gabehf/go-project-template/internal/cfg"
|
|
"git.mnrva.dev/gabehf/go-project-template/internal/db"
|
|
"github.com/go-chi/chi/v5"
|
|
"github.com/rs/zerolog"
|
|
)
|
|
|
|
func bindRoutes(r *chi.Mux, logger *zerolog.Logger, cfg *cfg.Config, db db.DB) {
|
|
r.Route("/api/v1", func(r chi.Router) {
|
|
// define routes here
|
|
})
|
|
}
|