Delete species

This commit is contained in:
Matthew Dillon 2015-10-12 10:40:47 -07:00
parent 50bee9ab88
commit 20026ebfd9
4 changed files with 13 additions and 2 deletions

View file

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