MCPcopy Index your code
hub / github.com/coder/coder / withCreatedAt

Function withCreatedAt

coderd/healthcheck/provisioner_test.go:388–392  ·  view source on GitHub ↗
(at time.Time)

Source from the content-addressed store, hash-verified

386}
387
388func withCreatedAt(at time.Time) func(*database.ProvisionerDaemon) {
389 return func(pd *database.ProvisionerDaemon) {
390 pd.CreatedAt = at
391 }
392}
393
394func withLastSeenAt(at time.Time) func(*database.ProvisionerDaemon) {
395 return func(pd *database.ProvisionerDaemon) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected