Documentation
¶
Index ¶
- Constants
- type URL
- func (l *URL) ArgsVals(sortcolname string, sortdirUP bool) (argVals []web.Argument)
- func (l *URL) MergeArgs(targets ...web.Argument) []web.Argument
- func (l URL) Redirect(listRoute route, args ...web.Argument) error
- func (l *URL) SetOrderBy(colname string, dirUP bool)
- func (l *URL) SplitOrderBy() (orderByField string, dirUp bool)
- func (l *URL) 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 URL ¶ added in v0.13.7
type URL 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 (*URL) SetOrderBy ¶ added in v0.13.7
func (*URL) SplitOrderBy ¶ added in v0.13.7
Click to show internal directories.
Click to hide internal directories.