MCPcopy Index your code
hub / github.com/AlekSi/pointer / ToTime

Function ToTime

pointer.go:122–124  ·  view source on GitHub ↗

ToTime returns a pointer to the passed time.Time value.

(t time.Time)

Source from the content-addressed store, hash-verified

120
121// ToTime returns a pointer to the passed time.Time value.
122func ToTime(t time.Time) *time.Time {
123 return &t
124}

Callers 2

TestTimeFunction · 0.85
ExampleFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestTimeFunction · 0.68
ExampleFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…