Documentation ¶
Index ¶
- func GetDefault(values url.Values, key, def string) string
- type Parameters
- func (param Parameters) GetFixedParamStr() string
- func (param Parameters) GetFixedParamStrWithoutPageSize() string
- func (param Parameters) GetLastPageRouteParamStr() string
- func (param Parameters) GetNextPageRouteParamStr() string
- func (param Parameters) GetRouteParamStr() string
- func (param Parameters) GetRouteParamStrWithoutId() string
- func (param Parameters) GetRouteParamStrWithoutPageSize() string
- func (param Parameters) SetPage(page string) Parameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parameters ¶
type Parameters struct { Page string PageSize string SortField string Columns []string SortType string Fields map[string]string }
func GetParam ¶
func GetParam(values url.Values) Parameters
func GetParamFromUrl ¶
func GetParamFromUrl(value string) Parameters
func (Parameters) GetFixedParamStr ¶
func (param Parameters) GetFixedParamStr() string
func (Parameters) GetFixedParamStrWithoutPageSize ¶
func (param Parameters) GetFixedParamStrWithoutPageSize() string
func (Parameters) GetLastPageRouteParamStr ¶
func (param Parameters) GetLastPageRouteParamStr() string
func (Parameters) GetNextPageRouteParamStr ¶
func (param Parameters) GetNextPageRouteParamStr() string
func (Parameters) GetRouteParamStr ¶
func (param Parameters) GetRouteParamStr() string
func (Parameters) GetRouteParamStrWithoutId ¶
func (param Parameters) GetRouteParamStrWithoutId() string
func (Parameters) GetRouteParamStrWithoutPageSize ¶
func (param Parameters) GetRouteParamStrWithoutPageSize() string
func (Parameters) SetPage ¶
func (param Parameters) SetPage(page string) Parameters
Click to show internal directories.
Click to hide internal directories.