Versions in this module Expand all Collapse all v0 v0.2.56 Aug 6, 2020 v0.2.55 Jul 26, 2020 v0.2.54 Jul 24, 2020 v0.2.53 May 28, 2020 v0.2.2 Jul 30, 2020 Changes in this version + type AccountDB interface + ChangePassword func(context.Context, *User) error + Create func(context.Context, *User) error + type Action struct + Action int16 + CreatedAt int64 + DeletedAt int64 + ID int64 + Payload string + ResID int64 + ResType string + UpdatedAt int64 + UserID int64 + type AuthUser struct + CompanyID int + Email string + ID int + LocationID int + Username string + type BaseModel struct + CreatedAt time.Time + DeletedAt time.Time + ID uint64 + Status int8 + UpdatedAt time.Time + Version int8 + func (model *BaseModel) BeforeCreate() + func (model *BaseModel) BeforeDelete() + func (model *BaseModel) BeforeUpdate() + type Comment struct + CreatedAt int64 + DeletedAt int64 + Format string + GID uint64 + ID int64 + Language string + Namespace string + ResID string + ResType string + SourceUrl string + UpdatedAt int64 + UserId string + type DMB struct + Abstract string + Contributors []string + CreatedAt time.Time + Creator string + DeletedAt time.Time + Description string + Format string + GID string + ID uint64 + Language string + License string + Medium string + Modified string + PID string + Publisher string + Source string + Status int8 + Subject string + Title string + Type string + UpdatedAt time.Time + Version int8 + type HugoMatter struct + Audio string + Author string + Categories []string + Comments bool + ContentCopyright bool + Date string + Description string + Draft bool + FlowchartDiagrams struct{ ... } + Format string + Headless bool + ID string + Images []string + KeyWords []string + Kind string + Lastmod string + Layout string + Mathjax bool + MathjaxEnableAutoNumber bool + MathjaxEnableSingleDollar bool + Media map[string]struct{ ... } + MinHash string + Namespaces string + Path string + Platform map[string]struct{ ... } + PostMetaInFooter bool + Published string + Reward bool + SequenceDiagrams struct{ ... } + Slug string + Tags []string + Title string + Toc bool + Type string + Weight int + WordCount int + func (t *HugoMatter) String() string + type Matter struct + Abstract string + Categories []string + Comments bool + Created string + Format string + ID string + IsDraft bool + KeyWords []string + Kind string + Media map[string]struct{ ... } + MinHash string + Modified string + Namespaces string + Path string + Platform map[string]struct{ ... } + Published string + Slug string + Tags []string + Title string + Toc bool + Type string + Weight int + WordCount int + type Permission struct + CreatedAt int64 + DeletedAt int64 + ID int64 + IsCollect int + IsDonate int + IsManage int + IsManager int + IsRead int + NeedAuth string + PayStatus int + Public int8 + ResID int64 + ResType int16 + Slug string + Status int8 + UpdatedAt int64 + Version int8 + type PlatformLink struct + ID string + PublishAt int + URL string + UpdateAt int + type ResLink struct + Abstract string + Basket string + Content string + ContentHash string + Format string + Group string + ID string + MinHash string + PlatformLink map[string]PlatformLink + PublishAt int + PushAt int + Score int + Slug string + Tags []string + Title string + UpdateAt int + Weight string + type Resource struct + Abstract string + Category string + ContentHash string + CoverUrl string + CreatedAt int64 + Creator string + DeletedAt int64 + Description string + Extra string + Format string + Geo string + Group string + ID int64 + Language string + Namespace string + OriginUrl string + PublishTime int + Publisher string + Slug string + SourceUrl string + Status int8 + Tags string + Title string + UpdatedAt int64 + Version int8 + type Statistic struct + CreatedAt int64 + DeletedAt int64 + ID int64 + ResID int64 + ResType int16 + Slug string + Status int8 + UpdatedAt int64 + Version int8 + type User struct + Active bool + Address string + CompanyID int + Email string + FirstName string + LastLogin *time.Time + LastName string + LocationID int + Mobile string + Password string + Phone string + RoleID int + Token string + Username string + func (u *User) UpdateLastLogin() + type UserDB interface + Delete func(context.Context, *User) error + FindByToken func(context.Context, string) (*User, error) + FindByUsername func(context.Context, string) (*User, error) + Update func(context.Context, *User) (*User, error) + UpdateLogin func(context.Context, *User) error + View func(context.Context, int) (*User, error)