MCPcopy Create free account
hub / github.com/corestoreio/pkg / ToTimeE

Function ToTimeE

util/conv/caste.go:25–51  ·  view source on GitHub ↗

ToTimeE casts an empty interface to time.Time. Supported types: time.Time, string, int64 and float64. float64 fractals gets applied as nsec.

(i interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestToTimeEFunction · 0.85
TestToTimeSpecificFunction · 0.85
ToTimeFunction · 0.85

Calls 2

indirectFunction · 0.85
StringToDateFunction · 0.85

Tested by 2

TestToTimeEFunction · 0.68
TestToTimeSpecificFunction · 0.68