Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PackBriefItem ¶
func PackBriefItem(item *BriefNoteItem) miknas.H
func PackNoteAttach ¶
func PackNoteAttach(attach *NoteAttach) miknas.H
func PackNoteFolder ¶
func PackNoteFolder(folder *NoteFolder) miknas.H
func PackNoteItem ¶
Types ¶
type NoteAttach ¶
type NoteAttach struct { miknas.PrimaryUintModel NoteItemID uint Uid string `gorm:"index;size:64"` Type string Data string //json }
func GetAttachById ¶
func GetAttachById(db *gorm.DB, id uint) *NoteAttach
type NoteFolder ¶
type NoteFolder struct { miknas.PrimaryUintModel Uid string `gorm:"index;size:64"` Name string `gorm:"size:255"` Parent uint `gorm:"index"` }
func GetFolderById ¶
func GetFolderById(db *gorm.DB, id uint) *NoteFolder
func GetSubFolderByName ¶
func GetSubFolderByName(db *gorm.DB, parent uint, name string) *NoteFolder
Click to show internal directories.
Click to hide internal directories.