MCPcopy Index your code
hub / github.com/git-bug/git-bug / Date

Method Date

api/graphql/resolvers/bug_timeline.go:16–19  ·  view source on GitHub ↗
(_ context.Context, obj *bug.CommentHistoryStep)

Source from the content-addressed store, hash-verified

14type bugCommentHistoryStepResolver struct{}
15
16func (bugCommentHistoryStepResolver) Date(_ context.Context, obj *bug.CommentHistoryStep) (*time.Time, error) {
17 t := obj.UnixTime.Time()
18 return &t, nil
19}
20
21var _ graph.BugAddCommentTimelineItemResolver = bugAddCommentTimelineItemResolver{}
22

Callers

nothing calls this directly

Calls 1

TimeMethod · 0.65

Tested by

no test coverage detected