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

Function NewDictionary

dictionary.go:22–28  ·  view source on GitHub ↗

NewDictionary creates a new ordered map.

()

Source from the content-addressed store, hash-verified

20
21// NewDictionary creates a new ordered map.
22func NewDictionary() *Dictionary {
23 d := Dictionary{}
24 d.names = []string{}
25 d.values = map[string]Member{}
26
27 return &d
28}
29
30// Get retrieves a member.
31func (d *Dictionary) Get(k string) (Member, bool) {

Callers 5

TestMarshalDictionnaryFunction · 0.85
TestUnmarshalDictionaryFunction · 0.85
TestMarshalFunction · 0.85
parseDictionaryFunction · 0.85
valToDictionaryFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestMarshalDictionnaryFunction · 0.68
TestUnmarshalDictionaryFunction · 0.68
TestMarshalFunction · 0.68
valToDictionaryFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…