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

Function valToItem

httpwg_test.go:76–86  ·  view source on GitHub ↗
(e interface{})

Source from the content-addressed store, hash-verified

74}
75
76func valToItem(e interface{}) Item {
77 if e == nil {
78 return Item{}
79 }
80
81 ex := e.([]interface{})
82 i := NewItem(valToBareItem(ex[0]))
83 populateParams(i.Params, ex[1])
84
85 return i
86}
87
88func valToInnerList(e []interface{}) InnerList {
89 il := InnerList{}

Callers 5

valToInnerListFunction · 0.85
valToMemberFunction · 0.85

Calls 3

NewItemFunction · 0.85
valToBareItemFunction · 0.85
populateParamsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…