Delete species
This commit is contained in:
parent
50bee9ab88
commit
20026ebfd9
4 changed files with 13 additions and 2 deletions
|
@ -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:.+}"},
|
||||
|
|
Reference in a new issue