Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillableFolder ¶
type BillableFolder struct {
Meta `bson:",inline" validate:"recurse"`
Comp `bson:",inline" validate:"recurse"`
Core `bson:",inline" validate:"recurse"`
}
func Mock ¶
func Mock(o owner.Owner) *BillableFolder
func New ¶
func New(m Meta, cr Core) *BillableFolder
type Core ¶
type Core struct {
owner.Owner `bson:",inline" validate:"recurse"`
folder.Folder `bson:",inline" validate:"recurse"`
}
func ApplyCore ¶
func ApplyCore(c *Core, modifiers ...CoreOption) Core
type CoreOption ¶
type CoreOption = contracti.CoreOption[Core]
func WithFolder ¶
func WithFolder(x folder.Folder) CoreOption
func WithOwner ¶
func WithOwner(x owner.Owner) CoreOption
type MetaOption ¶
type MetaOption = contract.MetaOption[Meta]
func WithCommon ¶
func WithCommon(x common.Common) MetaOption
Click to show internal directories.
Click to hide internal directories.