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

Function MakeTime

storage/null/time.go:36–40  ·  view source on GitHub ↗

TODO(cys): Remove GobEncoder, GobDecoder, MarshalJSON, UnmarshalJSON in Go 2. The same semantics will be provided by the generic MarshalBinary, MarshalText, UnmarshalBinary, UnmarshalText. MakeTime creates a new Time. Setting the second optional argument to false, the string will not be valid anymor

(t time.Time)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

TestNullTime_JsonMarshalFunction · 0.85
TestTimeFromFunction · 0.85
TestTimeSetValidFunction · 0.85
TestTimePointerFunction · 0.85
TestNewNullTimeFunction · 0.85

Calls

no outgoing calls

Tested by 7

TestNullTime_JsonMarshalFunction · 0.68
TestTimeFromFunction · 0.68
TestTimeSetValidFunction · 0.68
TestTimePointerFunction · 0.68
TestNewNullTimeFunction · 0.68