MCPcopy Create free account
hub / github.com/coder/coder / now

Method now

enterprise/coderd/schedule/template.go:55–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (s *EnterpriseTemplateScheduleStore) now() time.Time {
56 return dbtime.Time(s.Clock.Now())
57}
58
59// Get implements agpl.TemplateScheduleStore.
60func (*EnterpriseTemplateScheduleStore) Get(ctx context.Context, db database.Store, templateID uuid.UUID) (agpl.TemplateScheduleOptions, error) {

Callers 2

SetMethod · 0.95
updateWorkspaceBuildMethod · 0.95

Calls 1

TimeFunction · 0.92

Tested by

no test coverage detected