Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MaxNestedRelLevel int = 1
)
Functions ¶
Types ¶
type SortField ¶
type SortField struct {
// contains filtered or unexported fields
}
SortField is a field that describes the sorting rules for given
func NewRawSortField ¶
func NewRawSortField(m *models.ModelStruct, sort string) (*SortField, error)
NewRawSortField returns raw sortfield
func NewSortField ¶
func NewSortField(sField *models.StructField, o Order, subs ...*SortField) *SortField
NewSortField creates new sortField
func (*SortField) StructField ¶
func (s *SortField) StructField() *models.StructField
StructField returns sortField's structure
Click to show internal directories.
Click to hide internal directories.