Files
my_website/internal/routes/routes.go
2025-11-14 15:10:22 +07:00

17 lines
304 B
Go

package routes
import (
"duhweb/internal/app"
"github.com/go-chi/chi/v5"
)
func SetupRoutes(app *app.Application) *chi.Mux {
r := chi.NewRouter()
r.Get("/", app.ApiHandler.InitPage)
r.Get("/projects", app.ApiHandler.ProjectsPage)
r.Get("/experience", app.ApiHandler.ExperiencePage)
return r
}