query

package
v1.0.0-costsupdate.7 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllD added in v1.0.0

func AllD(strs []string, defaultValue string) (v []string)

func First

func First(strs []string) string

func FirstD

func FirstD(strs []string, defaultValue string) string

Types

type Query

type Query struct {
	Name string
	From Source
}

func Get

func Get(name string) *Query

func Path

func Path(name string) *Query

func (*Query) Values

func (q *Query) Values(r *http.Request) (vals []string)

type Source

type Source string
const (
	GET  Source = "GET"
	PATH Source = "PATH"
)

Jump to

Keyboard shortcuts

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