MCPcopy Create free account
hub / github.com/devfeel/dotweb / QueryString

Method QueryString

request.go:69–71  ·  view source on GitHub ↗

QueryString returns the first value associated with the given key.

(key string)

Source from the content-addressed store, hash-verified

67
68// QueryString returns the first value associated with the given key.
69func (req *Request) QueryString(key string) string {
70 return req.URL.Query().Get(key)
71}
72
73// ExistsQueryKey check is exists from query params with the given key.
74func (req *Request) ExistsQueryKey(key string) bool {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected