Documentation
¶
Index ¶
Constants ¶
View Source
const ( YKey = "y" MKey = "m" DKey = "d" HKey = "h" MinKey = "min" TzKey = "tz" )
View Source
const (
UTCKey = "utc"
)
Variables ¶
This section is empty.
Functions ¶
func Idx ¶ added in v0.0.30
func Idx() []contract.IndexEntry
func IdxSrch ¶ added in v0.0.30
func IdxSrch() []contract.SearchIndexEntry
func Rules ¶ added in v0.0.24
func Rules() contractpkg.QueryParamRules
Types ¶
type CoreOption ¶
type CoreOption = contracti.CoreOption[Core]
func WithDt ¶ added in v0.0.118
func WithDt(x contract.Dt) CoreOption
type Date ¶
type Date struct {
Meta `bson:",inline" validate:"recurse"`
Comp `bson:",inline" validate:"recurse"`
Core `bson:",inline" validate:"recurse"`
}
Date represents a date optimized for handling multiple time zones, and query parameter filtering.
func MockWithComp ¶ added in v0.0.130
func MockWithComp() *Date
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.