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

Function valToMember

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

Source from the content-addressed store, hash-verified

99}
100
101func valToMember(e interface{}) Member {
102 il := e.([]interface{})
103 if _, ok := il[0].([]interface{}); ok {
104 return valToInnerList(il)
105 }
106
107 return valToItem(e)
108}
109
110func valToList(e interface{}) List {
111 if e == nil {

Callers 2

valToListFunction · 0.85
valToDictionaryFunction · 0.85

Calls 2

valToInnerListFunction · 0.85
valToItemFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…