Delete strains

This commit is contained in:
Matthew Dillon 2015-10-12 10:46:07 -07:00
parent 20026ebfd9
commit dd7ebf1509
2 changed files with 11 additions and 0 deletions

View file

@ -79,6 +79,7 @@ func Handler() http.Handler {
r{handleCreater(strainService), "POST", "/strains"},
r{handleGetter(strainService), "GET", "/strains/{ID:.+}"},
r{handleUpdater(strainService), "PUT", "/strains/{ID:.+}"},
r{handleDeleter(strainService), "DELETE", "/strains/{ID:.+}"},
r{handleLister(characteristicService), "GET", "/characteristics"},
r{handleCreater(characteristicService), "POST", "/characteristics"},
r{handleGetter(characteristicService), "GET", "/characteristics/{ID:.+}"},