Registry / utility / bep-clock

bep-clock

JSON →
library0.5.0gogounverified

A clock abstraction for Go, useful for testing time-dependent code.

go get github.com/bep/clock
INSTALL
IMPORT
SIG · BEP-CLOCK
B
bep-clock
utilitygov0.5.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
github.com/bep/clock

Get current time using the clock

package main import ( "fmt" "github.com/bep/clock" ) func main() { fmt.Println(clock.Now()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Meta
1
OpenAI (training)
1
Resources
bep-clock — go get bep-clock · libregistry