Added user locale setting (#104)
This commit is contained in:
parent
142acef5ce
commit
1c8d12f79a
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ type User struct {
|
|||
Email string `json:"email"`
|
||||
// URL to the user's avatar
|
||||
AvatarURL string `json:"avatar_url"`
|
||||
// User locale
|
||||
Language string `json:"language"`
|
||||
}
|
||||
|
||||
// MarshalJSON implements the json.Marshaler interface for User, adding field(s) for backward compatibility
|
||||
|
|
Loading…
Reference in a new issue