mirror of
https://github.com/miniflux/v2.git
synced 2025-07-27 17:28:38 +00:00
Make entries sorting configurable
This commit is contained in:
parent
453ff64f29
commit
2f1367a8d4
28 changed files with 253 additions and 193 deletions
|
@ -11,15 +11,16 @@ import (
|
|||
|
||||
// User represents a user in the system.
|
||||
type User struct {
|
||||
ID int64 `json:"id"`
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password,omitempty"`
|
||||
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:"-"`
|
||||
ID int64 `json:"id"`
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password,omitempty"`
|
||||
IsAdmin bool `json:"is_admin,omitempty"`
|
||||
Theme string `json:"theme,omitempty"`
|
||||
Language string `json:"language,omitempty"`
|
||||
Timezone string `json:"timezone,omitempty"`
|
||||
EntryDirection string `json:"entry_sorting_direction,omitempty"`
|
||||
LastLoginAt *time.Time `json:"last_login_at,omitempty"`
|
||||
Extra map[string]string `json:"-"`
|
||||
}
|
||||
|
||||
// NewUser returns a new User.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue