ADD metadata to omit empty vals
This commit is contained in:
parent
d690176b29
commit
0dbbc4b045
@ -10,8 +10,8 @@ type History struct {
|
||||
}
|
||||
|
||||
type Institution struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ShortName string `json:"short_name"`
|
||||
Created int64 `json:"created"`
|
||||
ID int64 `json:"id,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
ShortName string `json:"short_name,omitempty"`
|
||||
Created int64 `json:"created,omitempty"`
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user