Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListOptions ¶
type ListOptions struct { FieldMap map[string]interface{} Fields []interface{} OrderBy string Limit int Page int }
func NewListOptions ¶
func NewListOptions(page, limit int) *ListOptions
func (*ListOptions) Asc ¶
func (l *ListOptions) Asc(field ...string) *ListOptions
func (*ListOptions) Desc ¶
func (l *ListOptions) Desc(field ...string) *ListOptions
func (*ListOptions) WithFields ¶
func (l *ListOptions) WithFields(fields []interface{}) *ListOptions
type SearchOptions ¶
type SearchOptions struct {
Fields map[string]interface{}
}
func NewSearchOptions ¶
func NewSearchOptions(fields map[string]interface{}) SearchOptions
Click to show internal directories.
Click to hide internal directories.