MCPcopy Create free account
hub / github.com/araddon/qlbridge / NewStructValue

Function NewStructValue

value/value.go:897–899  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

895}
896
897func NewStructValue(v interface{}) StructValue {
898 return StructValue{v: v}
899}
900
901func (m StructValue) Nil() bool { return m.v == nil }
902func (m StructValue) Err() bool { return false }

Callers 7

value.goFile · 0.85
NewValueFunction · 0.85
TestCastFunction · 0.85
TestValueToStringFunction · 0.85
TestValueToStringsFunction · 0.85
TestValueToTimeFunction · 0.85
TestValueToFloatFunction · 0.85

Calls

no outgoing calls

Tested by 5

TestCastFunction · 0.68
TestValueToStringFunction · 0.68
TestValueToStringsFunction · 0.68
TestValueToTimeFunction · 0.68
TestValueToFloatFunction · 0.68