func GroupRemove(cocs backend.Cocaine, w http.ResponseWriter, r *http.Request) { name := mux.Vars(r)["name"] err := cocs.GroupRemove(name) if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) return } fmt.Fprint(w, "OK") }