diff --git a/api.go b/api.go index 7457624..ecd5343 100644 --- a/api.go +++ b/api.go @@ -14,7 +14,6 @@ func NewAPI() *API { router: mux.NewRouter(), } - api.router.HandleFunc("/template", api.listTemplates).Methods("GET") api.router.HandleFunc("/template", api.createTemplate).Methods("POST") api.router.HandleFunc("/template/{id}", api.getTemplate).Methods("GET") api.router.HandleFunc("/template/{id}", api.updateTemplate).Methods("PATCH") @@ -26,10 +25,6 @@ func (api *API) ServeHTTP(w http.ResponseWriter, r *http.Request) { api.router.ServeHTTP(w, r) } -func (api *API) listTemplates(w http.ResponseWriter, r *http.Request) { - log.Printf("listTemplates") -} - func (api *API) createTemplate(w http.ResponseWriter, r *http.Request) { log.Printf("createTemplate") }