cli/third-party/github.com/letsencrypt/boulder/cmd/clock_generic.go
2025-05-30 12:50:20 -04:00

14 lines
340 B
Go

//go:build !integration
package cmd
import "github.com/jmhodges/clock"
// Clock functions similarly to clock.New(), but the returned value can be
// changed using the FAKECLOCK environment variable if the 'integration' build
// flag is set.
//
// This function returns the default Clock.
func Clock() clock.Clock {
return clock.New()
}