Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPreferencesNotFound = errors.New("preferences record not found")
)
Functions ¶
func GetDefaultLocale ¶
GetDefaultLocale returns the default locale setting
Types ¶
type Record ¶
type Record struct { Id uint64 DataContainerId user.DataContainerID Locale language.Tag LastUpdatedAt time.Time }
func GetDefaultPreferences ¶
func GetDefaultPreferences(id *user.DataContainerID) *Record
GetDefaultPreferences returns the default set of user preferences
Click to show internal directories.
Click to hide internal directories.