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

Method MapInt

value/value.go:841–847  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

839func (m MapTimeValue) ToString() string { return fmt.Sprintf("%v", m.v) }
840func (m MapTimeValue) Len() int { return len(m.v) }
841func (m MapTimeValue) MapInt() map[string]int64 {
842 mv := make(map[string]int64, len(m.v))
843 for n, v := range m.v {
844 mv[n] = v.UnixNano()
845 }
846 return mv
847}
848func (m MapTimeValue) MapValue() MapValue {
849 mv := make(map[string]Value)
850 for n, val := range m.v {

Callers 1

TestMapTimeValueFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestMapTimeValueFunction · 0.76