aboutsummaryrefslogtreecommitdiffhomepage
path: root/model/user.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2017-11-25 10:40:23 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2017-11-25 10:44:48 -0800
commit142e8b3e0c94757585005cd00fc9ed24afe43f81 (patch)
tree8fda59a86f734d5a653f6e55ba550d0885a1fb77 /model/user.go
parent71bf7e43580377a9bb98c6444c32e95b53602f12 (diff)
Add first integration test
Diffstat (limited to 'model/user.go')
-rw-r--r--model/user.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/model/user.go b/model/user.go
index 6e13690..7d5d52b 100644
--- a/model/user.go
+++ b/model/user.go
@@ -14,11 +14,11 @@ type User struct {
ID int64 `json:"id"`
Username string `json:"username"`
Password string `json:"password,omitempty"`
- IsAdmin bool `json:"is_admin"`
- Theme string `json:"theme"`
- Language string `json:"language"`
- Timezone string `json:"timezone"`
- LastLoginAt *time.Time `json:"last_login_at"`
+ IsAdmin bool `json:"is_admin,omitempty"`
+ Theme string `json:"theme,omitempty"`
+ Language string `json:"language,omitempty"`
+ Timezone string `json:"timezone,omitempty"`
+ LastLoginAt *time.Time `json:"last_login_at,omitempty"`
Extra map[string]string `json:"-"`
}