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

Function NewParams

params.go:26–32  ·  view source on GitHub ↗

NewParams creates a new ordered map.

()

Source from the content-addressed store, hash-verified

24
25// NewParams creates a new ordered map.
26func NewParams() *Params {
27 p := Params{}
28 p.names = []string{}
29 p.values = map[string]interface{}{}
30
31 return &p
32}
33
34// Get retrieves a parameter.
35func (p *Params) Get(k string) (interface{}, bool) {

Callers 8

TestMarshalListFunction · 0.85
TestUnmarshalListFunction · 0.85
TestMarshalParametersFunction · 0.85
TestParseParametersFunction · 0.85
parseParamsFunction · 0.85
NewItemFunction · 0.85
valToInnerListFunction · 0.85
TestInnerListFunction · 0.85

Calls

no outgoing calls

Tested by 6

TestMarshalListFunction · 0.68
TestUnmarshalListFunction · 0.68
TestMarshalParametersFunction · 0.68
TestParseParametersFunction · 0.68
valToInnerListFunction · 0.68
TestInnerListFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…