Documentation ¶
Index ¶
- Constants
- Variables
- func Configure(db *gorm.DB, pb *presets.Builder, models ...*presets.ModelBuilder)
- func GetUnreadNotesCount(db *gorm.DB, userID uint, resourceType, resourceID string) int64
- func GetUserData(ctx *web.EventContext) (userID uint, creator string)
- type Messages
- type QorNote
- type UserNote
Constants ¶
View Source
const ( UserIDKey contextUserIDKey = iota UserKey )
View Source
const (
I18nNoteKey i18n.ModuleKey = "I18nNoteKey"
)
Variables ¶
View Source
var AfterCreateFunc = func(db *gorm.DB) (err error) {
return
}
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 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.