query

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryUrl

type QueryUrl struct {
	Url url.Values `json:"url"`
}

QueryUrl is the structure

func New

func New(url url.Values) *QueryUrl

New will new a QueryUrl

func (*QueryUrl) Int

func (query *QueryUrl) Int(key string, defaultValue int) (int, error)

Int is a function for int

func (*QueryUrl) Int64

func (query *QueryUrl) Int64(key string, defaultValue int64) (int64, error)

Int64 is a function for int64

func (*QueryUrl) Str

func (query *QueryUrl) Str(key string) (string, bool)

Str is a function

Jump to

Keyboard shortcuts

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