[ Source: golang-github-bep-clock ]
Package: golang-github-bep-clock-dev (0.3.0-2~bpo11+1)
Links for golang-github-bep-clock-dev
Debian Resources:
Download Source Package golang-github-bep-clock:
- [golang-github-bep-clock_0.3.0-2~bpo11+1.dsc]
- [golang-github-bep-clock_0.3.0.orig.tar.gz]
- [golang-github-bep-clock_0.3.0-2~bpo11+1.debian.tar.xz]
Maintainers:
External Resources:
- Homepage [github.com]
Similar packages:
- golang-github-mostynb-go-grpc-compression-dev
- golang-github-facebookgo-clock-dev
- golang-github-bep-mclib-dev
- golang-github-aymerick-douceur-dev
- golang-github-dpotapov-go-spnego-dev
- golang-gopkg-h2non-gock.v1-dev
- golang-github-hodgesds-perf-utils-dev
- golang-github-buengese-sgzip-dev
- golang-github-dnephin-cobra-dev
- golang-github-azure-go-autorest-dev
- golang-github-bep-godartsass-dev
Golangur til at angive starttidspunktet - Go-bibliotek
Denne pakke tilbyder et *tikkende ur*, til at angive starttidspunktet. Pakken tilbyder også et systemur, der begge implementerer denne grænseflade:
// 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 }
Bemærk at der kun understøttes et undersæt af alle metoderne i time.Time (se ovenfor) og er per design meget simpel. For et mere avanceret time mocking-bibliotek, tag et kig på <https://github.com/benbjohnson/clock>.
Other Packages Related to golang-github-bep-clock-dev
|
|
|
|
-
- dep: golang-github-frankban-quicktest-dev
- Hurtige hjælpeprogrammer til at teste Go-programmer
-
- dep: golang-github-google-go-cmp-dev
- Pakke til at sammenligne Go-værdier i test
Download golang-github-bep-clock-dev
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 4.6 kB | 22.0 kB | [list of files] |