query

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool added in v0.1.0

func Bool(uv url.Values, key string) bool

Bool returns true if a query variable is present

func Float64

func Float64(uv url.Values, key string, value float64, min, max *float64) (float64, bool, error)

Float64 tries to get a query value

func Int

func Int(uv url.Values, key string, value int, min, max *int) (int, bool, error)

Int tries to get a query value

Types

This section is empty.

Jump to

Keyboard shortcuts

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