{"id":51792,"library":"raulk-clock","title":"Raulk Clock","description":"A clock interface and mock for testing time-dependent code in Go.","status":"active","version":"1.1.0","language":"go","source_language":null,"source_url":"https://github.com/raulk/clock","tags":["testing","time","mock","clock"],"install":[{"cmd":"go get github.com/raulk/clock","lang":"bash","label":"Install github.com/raulk/clock"}],"dependencies":[],"imports":[{"symbol":"clock","correct":"github.com/raulk/clock"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/raulk/clock\"\n)\n\nfunc main() {\n\tc := clock.New()\n\tfmt.Println(c.Now())\n}","lang":"go","description":"Create a real clock and get the current time."},"warnings":[],"env_vars":null,"search_vec":"'clock':2,4,19 'code':13 'depend':12 'go':15 'interfac':5 'mock':7,18 'raulk':1 'test':9,16 'time':11,17 'time-depend':10","created_at":"2026-06-15T06:30:11.185456+00:00","updated_at":"2026-06-15T06:30:11.185456+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/raulk/clock","github":"https://github.com/raulk/clock","docs":"https://pkg.go.dev/github.com/raulk/clock#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}