Versions in this module Expand all Collapse all v1 v1.5.4 Aug 15, 2017 Changes in this version + const Admin + const Anon + const Editor + const KeyName + const Order + const Reader + const TableName + func Admins() *query.Query + func AllowedParams() []string + func Count() int64 + func Editors() *query.Query + func Published() *query.Query + func Query() *query.Query + func Readers() *query.Query + func Where(format string, args ...interface{}) *query.Query + type User struct + Email string + ImageID int64 + Name string + PasswordHash string + PasswordResetAt time.Time + PasswordResetToken string + Role int64 + Summary string + Text string + Title string + func Find(id int64) (*User, error) + func FindAll(q *query.Query) ([]*User, error) + func FindFirst(format string, args ...interface{}) (*User, error) + func MockAdmin() *User + func MockAnon() *User + func New() *User + func NewWithColumns(cols map[string]interface{}) *User + func (u *User) Admin() bool + func (u *User) Anon() bool + func (u *User) Reader() bool + func (u *User) RoleDisplay() string + func (u *User) RoleID() int64 + func (u *User) RoleOptions() []helpers.Option + func (u *User) SelectName() string + func (u *User) UserID() int64