Files
bordro-esleme/svc/api/public/zrouter.go
2024-04-11 21:04:00 +03:00

15 lines
181 B
Go

package public
import (
"github.com/go-chi/chi/v5"
"net/http"
)
func Router() http.Handler {
r := chi.NewRouter()
// user authentication
r.Post("/login", login)
return r
}