Registry / utility / clock
library1.68.0gogounverified

Package clock provides a clock interface for time-related operations in Cloud Foundry.

go get code.cloudfoundry.org/clock
INSTALL
IMPORT
SIG · CLOCK
C
clock
utilitygov1.68.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

clock
code.cloudfoundry.org/clock

Get the current time using the clock interface.

package main import ( "fmt" "time" "code.cloudfoundry.org/clock" ) func main() { c := clock.NewClock() fmt.Println(c.Now()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.68.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
clock — go get clock · libregistry