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

Function populateParams

httpwg_test.go:68–74  ·  view source on GitHub ↗
(p *Params, e interface{})

Source from the content-addressed store, hash-verified

66}
67
68func populateParams(p *Params, e interface{}) {
69 ex := e.([]interface{})
70 for _, l := range ex {
71 v := l.([]interface{})
72 p.Add(v[0].(string), valToBareItem(v[1]))
73 }
74}
75
76func valToItem(e interface{}) Item {
77 if e == nil {

Callers 2

valToItemFunction · 0.85
valToInnerListFunction · 0.85

Calls 2

valToBareItemFunction · 0.85
AddMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…