MCPcopy Index your code
hub / github.com/dunglas/httpsfv / Get

Method Get

params.go:35–39  ·  view source on GitHub ↗

Get retrieves a parameter.

(k string)

Source from the content-addressed store, hash-verified

33
34// Get retrieves a parameter.
35func (p *Params) Get(k string) (interface{}, bool) {
36 v, ok := p.values[k]
37
38 return v, ok
39}
40
41// Add appends a new parameter to the ordered list.
42// If the key already exists, overwrite its value.

Callers 1

TestMarshalParametersFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestMarshalParametersFunction · 0.76