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

Function NewMapTimeValue

value/value.go:829–831  ·  view source on GitHub ↗
(v map[string]time.Time)

Source from the content-addressed store, hash-verified

827}
828
829func NewMapTimeValue(v map[string]time.Time) MapTimeValue {
830 return MapTimeValue{v: v}
831}
832
833func (m MapTimeValue) Nil() bool { return len(m.v) == 0 }
834func (m MapTimeValue) Err() bool { return false }

Callers 7

mapTimeEvalFunction · 0.92
builtins_test.goFile · 0.92
vm_test.goFile · 0.92
value.goFile · 0.85
NewValueFunction · 0.85
MapTimeMethod · 0.85
TestMapTimeValueFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestMapTimeValueFunction · 0.68