MCPcopy Create free account
hub / github.com/dunglas/httpsfv / Get

Method Get

dictionary.go:31–35  ·  view source on GitHub ↗

Get retrieves a member.

(k string)

Source from the content-addressed store, hash-verified

29
30// Get retrieves a member.
31func (d *Dictionary) Get(k string) (Member, bool) {
32 v, ok := d.values[k]
33
34 return v, ok
35}
36
37// Add appends a new member to the ordered list.
38func (d *Dictionary) Add(k string, v Member) {

Callers 1

TestMarshalDictionnaryFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestMarshalDictionnaryFunction · 0.76