Skip to content

Commit

Permalink
Change the field type
Browse files Browse the repository at this point in the history
Signed-off-by: Toomore Chiang <toomore0929@gmail.com>
  • Loading branch information
toomore committed Sep 13, 2022
1 parent af1409e commit 94a2f73
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 54 deletions.
4 changes: 2 additions & 2 deletions jsonstruct/jsonstruct.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type PhotosGetInfo struct {
Photo struct {
ID string `json:"id"`
Dateuploaded string `json:"dateuploaded"`
License string `json:"license"`
License int64 `json:"license"`
Media string `json:"media"`
Orgformat string `json:"originalformat"`
Orgsecret string `json:"originalsecret"`
Expand Down Expand Up @@ -159,7 +159,7 @@ type PhotoSize struct {
// License struct
// easyjson:json
type License struct {
ID string `json:"id"`
ID int64 `json:"id"`
Name string `json:"name"`
URL string `json:"url"`
}
Expand Down
Loading

0 comments on commit 94a2f73

Please sign in to comment.