Documentation
¶
Index ¶
- Constants
- type ListURL
- func (l *ListURL) ArgsVals(sortcolname string, sortdirUP bool) (argVals []web.Argument)
- func (l *ListURL) MergeArgs(targets ...web.Argument) []web.Argument
- func (l ListURL) Redirect(listRoute route, args ...web.Argument) error
- func (l *ListURL) SetOrderBy(colname string, dirUP bool)
- func (l *ListURL) SplitOrderBy() (orderByField string, dirUp bool)
- func (l *ListURL) URL(listRoute route, args ...web.Argument) string
Constants ¶
View Source
const ASC = "asc"
View Source
const DESC = "desc"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListURL ¶
type ListURL struct { /* DefaultSortBy string DefaultSortUp bool DefaultLimit int */ Limit web.QueryArg[int] Page web.QueryArg[int] OrderBy web.QueryArg[string] SearchField web.QueryArg[string] SearchComparison web.QueryArg[string] SearchValue web.QueryArg[string] }
func (*ListURL) SetOrderBy ¶ added in v0.13.6
func (*ListURL) SplitOrderBy ¶ added in v0.13.6
Click to show internal directories.
Click to hide internal directories.