22 lines
409 B
Go
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)
|
|
}
|