truck-company/internal/handlers/handlers.go
2025-03-27 18:18:48 +00:00

22 lines
409 B
Go

package handlers
import (
"net/http"
"github.com/gorilla/mux"
)
type TruckCompanyHandler struct {
}
func NewTruckCompanyHandler() *TruckCompanyHandler {
return &TruckCompanyHandler{}
}
func (h *TruckCompanyHandler) RegisterRoutes(router *mux.Router) {
// router.HandleFunc("/routes").Methods(http.MethodGet)
// router.HandleFunc("").Methods(http.MethodGet)
router.HandleFunc("/", http.NotFound)
}