Documentation
¶
Index ¶
Constants ¶
View Source
const ( UserIDKey contextUserIDKey = iota UserKey )
View Source
const (
I18nNoteKey i18n.ModuleKey = "I18nNoteKey"
)
Variables ¶
View Source
var Messages_en_US = &Messages{
SuccessfullyCreated: "Successfully Created",
Item: "Item",
Notes: "Notes",
NewNote: "New Note",
}
View Source
var Messages_ja_JP = &Messages{
SuccessfullyCreated: "作成に成功しました",
Item: "アイテム",
Notes: "ノート",
NewNote: "新規ノート",
}
View Source
var Messages_zh_CN = &Messages{
SuccessfullyCreated: "成功创建",
Item: "记录",
Notes: "备注",
NewNote: "新建备注",
}
Functions ¶
func GetUnreadNotesCount ¶
func GetUserData ¶
func GetUserData(ctx *web.EventContext) (userID uint, creator string)
Types ¶
type AfterCreateFunc ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) AfterCreate ¶
func (b *Builder) AfterCreate(f AfterCreateFunc) (r *Builder)
func (*Builder) ModelInstall ¶
Click to show internal directories.
Click to hide internal directories.