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 {
|
type Institution struct {
|
||||||
ID int64 `json:"id"`
|
ID int64 `json:"id,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name,omitempty"`
|
||||||
ShortName string `json:"short_name"`
|
ShortName string `json:"short_name,omitempty"`
|
||||||
Created int64 `json:"created"`
|
Created int64 `json:"created,omitempty"`
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user