mirror of
https://github.com/pushbits/server.git
synced 2025-06-03 11:12:05 +02:00
Partially implement updates of models
This commit is contained in:
parent
6a77df8373
commit
d621333b6e
9 changed files with 158 additions and 19 deletions
|
@ -18,3 +18,9 @@ type CreateApplication struct {
|
|||
type DeleteApplication struct {
|
||||
ID uint `uri:"id"`
|
||||
}
|
||||
|
||||
// UpdateApplication is used to process queries for updating applications.
|
||||
type UpdateApplication struct {
|
||||
ID uint `uri:"id" binding:"required"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue