parameter

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2019 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefault

func GetDefault(values url.Values, key, def string) string

Types

type Parameters

type Parameters struct {
	Page      string
	PageSize  string
	SortField 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL