Versions in this module Expand all Collapse all v0 v0.1.1 May 26, 2019 Changes in this version + var MaxNestedRelLevel int = 1 + func SetSubfield(s *SortField, sortSplitted []string, order Order) (invalidField bool) + type Order int + const AscendingOrder + const DescendingOrder + func (o Order) String() string + type SortError struct + Err string + FieldName string + func (s *SortError) Error() string + type SortField struct + func Copy(s *SortField) *SortField + func NewRawSortField(m *models.ModelStruct, sort string) (*SortField, error) + func NewSortField(sField *models.StructField, o Order, subs ...*SortField) *SortField + func (s *SortField) Order() Order + func (s *SortField) StructField() *models.StructField