Documentation
¶
Index ¶
Constants ¶
View Source
const (
FolderNameKey = "folder_name"
)
Variables ¶
This section is empty.
Functions ¶
func Idx ¶
func Idx() []contract.IndexEntry
func IdxSrch ¶
func IdxSrch() []contract.SearchIndexEntry
func Rules ¶
func Rules() contractpkg.QueryParamRules
Types ¶
type Core ¶
type Core struct {
FolderName *string `json:"folder_name" conform:"title,trim" validate:"nnpt,nz"`
}
func ApplyCore ¶
func ApplyCore(c *Core, modifiers ...CoreOption) Core
func (*Core) GetFolderName ¶
func (*Core) SetFolderName ¶
type CoreOption ¶
type CoreOption = contracti.CoreOption[Core]
func WithFolderName ¶
func WithFolderName(x string) CoreOption
type Folder ¶
type Folder struct {
Meta `bson:",inline" validate:"recurse"`
Core `bson:",inline" validate:"recurse"`
}
Folder represents a folder.
type Meta ¶
type Meta struct{}
func ApplyMeta ¶
func ApplyMeta(m *Meta, modifiers ...MetaOption) Meta
type MetaOption ¶
type MetaOption = contract.MetaOption[Meta]
Click to show internal directories.
Click to hide internal directories.