MCPcopy Create free account
hub / github.com/GetStream/stream-go2 / getTime

Function getTime

utils_test.go:60–63  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

58}
59
60func getTime(t time.Time) stream.Time {
61 st, _ := time.Parse(stream.TimeLayout, t.Truncate(time.Second).Format(stream.TimeLayout))
62 return stream.Time{Time: st}
63}
64
65func newFlatFeedWithUserID(c *stream.Client, userID string) (*stream.FlatFeed, error) {
66 return c.FlatFeed("flat", userID)

Callers 5

TestUpdateActivitiesFunction · 0.85
TestUpdateToTargetsFunction · 0.85
TestBatchUpdateToTargetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected