A few big changes
- Adding timezone to source config - genera: update record (missed a few pieces) - genera: delete record
This commit is contained in:
parent
33194ffd2f
commit
279651930e
12 changed files with 203 additions and 4 deletions
|
@ -15,5 +15,6 @@ func API() *mux.Router {
|
|||
m.Path("/genera").Methods("POST").Name(CreateGenus)
|
||||
m.Path("/genera/{Id:.+}").Methods("GET").Name(Genus)
|
||||
m.Path("/genera/{Id:.+}").Methods("PUT").Name(UpdateGenus)
|
||||
m.Path("/genera/{Id:.+}").Methods("DELETE").Name(DeleteGenus)
|
||||
return m
|
||||
}
|
||||
|
|
|
@ -9,4 +9,5 @@ const (
|
|||
CreateGenus = "genus:create"
|
||||
Genera = "genera"
|
||||
UpdateGenus = "genus:update"
|
||||
DeleteGenus = "genus:delete"
|
||||
)
|
||||
|
|
Reference in a new issue