Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyChanges ¶
func ApplyChanges(changes interface{}, to interface{}) error
Types ¶
type BootstrapVersionFilter ¶
type BootstrapVersionFilter struct {
Limit *int `json:"limit" validate:"omitempty,min=1,max=100"`
Offset *int `json:"offset" validate:"omitempty,min=0"`
OrderBy *generated.BootstrapVersionFields `json:"order_by"`
Order *generated.Order `json:"order"`
Search *string `json:"search" validate:"omitempty,min=3"`
Ids []string `json:"ids" validate:"omitempty,max=100"`
}
func DefaultBootstrapVersionFilter ¶
func DefaultBootstrapVersionFilter() *BootstrapVersionFilter
func ProcessBootstrapVersionFilter ¶
func ProcessBootstrapVersionFilter(filter map[string]interface{}) (*BootstrapVersionFilter, error)
type GuideFilter ¶
type GuideFilter struct {
Limit *int `json:"limit" validate:"omitempty,min=1,max=100"`
Offset *int `json:"offset" validate:"omitempty,min=0"`
OrderBy *generated.GuideFields `json:"order_by"`
Order *generated.Order `json:"order"`
Search *string `json:"search" validate:"omitempty,min=3"`
Ids []string `json:"ids" validate:"omitempty,max=100"`
TagIDs []string `json:"tagIDs" validate:"omitempty,max=100"`
}
func DefaultGuideFilter ¶
func DefaultGuideFilter() *GuideFilter
func ProcessGuideFilter ¶
func ProcessGuideFilter(filter map[string]interface{}) (*GuideFilter, error)
func (GuideFilter) Hash ¶
func (f GuideFilter) Hash() (string, error)
type ModFilter ¶
type ModFilter struct {
Limit *int `json:"limit" validate:"omitempty,min=1,max=100"`
Offset *int `json:"offset" validate:"omitempty,min=0"`
OrderBy *generated.ModFields `json:"order_by"`
Order *generated.Order `json:"order"`
Search *string `json:"search" validate:"omitempty,min=3"`
Ids []string `json:"ids" validate:"omitempty,max=100"`
References []string `json:"references" validate:"omitempty,max=100"`
Hidden *bool `json:"hidden"`
Fields []string `json:"-"`
TagIDs []string `json:"tagIDs" validate:"omitempty,max=100"`
}
func DefaultModFilter ¶
func DefaultModFilter() *ModFilter
func ProcessModFilter ¶
type SMLVersionFilter ¶
type SMLVersionFilter struct {
Limit *int `json:"limit" validate:"omitempty,min=1,max=100"`
Offset *int `json:"offset" validate:"omitempty,min=0"`
OrderBy *generated.SMLVersionFields `json:"order_by"`
Order *generated.Order `json:"order"`
Search *string `json:"search" validate:"omitempty,min=3"`
Ids []string `json:"ids" validate:"omitempty,max=100"`
}
func DefaultSMLVersionFilter ¶
func DefaultSMLVersionFilter() *SMLVersionFilter
func ProcessSMLVersionFilter ¶
func ProcessSMLVersionFilter(filter map[string]interface{}) (*SMLVersionFilter, error)
type VersionFilter ¶
type VersionFilter struct {
Limit *int `json:"limit" validate:"omitempty,min=1,max=100"`
Offset *int `json:"offset" validate:"omitempty,min=0"`
OrderBy *generated.VersionFields `json:"order_by"`
Order *generated.Order `json:"order"`
Search *string `json:"search" validate:"omitempty,min=3"`
Ids []string `json:"ids" validate:"omitempty,max=100"`
Fields []string `json:"-"`
}
func DefaultVersionFilter ¶
func DefaultVersionFilter() *VersionFilter
func ProcessVersionFilter ¶
func ProcessVersionFilter(filter map[string]interface{}) (*VersionFilter, error)
func (*VersionFilter) AddField ¶
func (f *VersionFilter) AddField(name string)
func (*VersionFilter) Hash ¶
func (f *VersionFilter) Hash() (string, error)
func (*VersionFilter) IsDefault ¶
func (f *VersionFilter) IsDefault(ignoreLimits bool) bool
Click to show internal directories.
Click to hide internal directories.