diff --git a/README.md b/README.md index 705a497..07dd77d 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,13 @@ This repository provides supplementary Go time packages. -## Download/Install - -The easiest way to install is to run `go get -u golang.org/x/time`. You can -also manually git clone the repository to `$GOPATH/src/golang.org/x/time`. - ## Report Issues / Send Patches This repository uses Gerrit for code changes. To learn how to submit changes to -this repository, see https://golang.org/doc/contribute.html. +this repository, see https://go.dev/doc/contribute. + +The git repository is https://go.googlesource.com/time. The main issue tracker for the time repository is located at -https://github.com/golang/go/issues. Prefix your issue with "x/time:" in the +https://go.dev/issues. Prefix your issue with "x/time:" in the subject line, so it is easy to find. diff --git a/rate/rate_test.go b/rate/rate_test.go index c91fc8f..c9bc239 100644 --- a/rate/rate_test.go +++ b/rate/rate_test.go @@ -192,7 +192,7 @@ func (tt *testTime) advance(dur time.Duration) { tt.advanceUnlocked(dur) } -// advanceUnlock advances the fake time, assuming it is already locked. +// advanceUnlocked advances the fake time, assuming it is already locked. func (tt *testTime) advanceUnlocked(dur time.Duration) { tt.cur = tt.cur.Add(dur) i := 0