Added user locale setting (#104)

This commit is contained in:
kolaente 2018-05-01 13:15:19 +02:00 committed by Lauris BH
parent 142acef5ce
commit 1c8d12f79a
1 changed files with 2 additions and 0 deletions

View File

@ -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