golang-github-bep-clock 0.3.0-2 source package in Ubuntu
Changelog
golang-github-bep-clock (0.3.0-2) unstable; urgency=medium * Source-only upload for migration to testing * Bump Standards-Version to 4.6.1 (no change) -- Anthony Fok <email address hidden> Mon, 13 Jun 2022 05:26:14 -0600
Upload details
- Uploaded by:
- Debian Go Packaging Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Go Packaging Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
golang-github-bep-clock_0.3.0-2.dsc | 2.2 KiB | fb36365224ec6d7ce6fd5920a73681fdb1940c574520e58f80ad7296136f424c |
golang-github-bep-clock_0.3.0.orig.tar.gz | 4.1 KiB | 6fbdd7ce3742caac509da714ed0e8cd068057055cdef0450aff4fb6bd29ae3d6 |
golang-github-bep-clock_0.3.0-2.debian.tar.xz | 2.4 KiB | b1b4dd6993408772603b5a830cade42bb5a3ee7593b4aedfde370c5e8758585b |
Available diffs
- diff from 0.3.0-1 to 0.3.0-2 (545 bytes)
No changes file available.
Binary packages built by this source
- golang-github-bep-clock-dev: Golang clock that allows you to set the start time (Go library)
This package provides a *ticking clock* that allows you to set the start
time. It also provides a system clock, both implementing this interface:
.
// Clock provides a subset of methods in time.Time
type Clock interface {
Now() time.Time
Since(t time.Time) time.Duration
Until(t time.Time) time.Duration
.
// Offset returns the offset of this clock relative to the system clock
Offset() time.Duration
}
.
Note that this only support a subset of all the methods in time.Time
(see above) and is by design very simple. For a more advanced time mocking
library, have a look at <https://github. com/benbjohnson /clock>.