Skip to content

Commit

Permalink
all: add a go directive, set it to 1.18
Browse files Browse the repository at this point in the history
Done with:

go get go@1.18 toolchain@none
go mod tidy
go fix ./...

Using go1.21.3.

Otherwise the module is considered to have an implicit go 1.16 line.
While here, drop the by-now-always-satisfied go1.7 build constraint.

For golang/go#60268.

Change-Id: Ie0216c6f22c5e25321042e1b7bdaa59f3c3ae843
Reviewed-on: https://go-review.googlesource.com/c/time/+/534243
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
dmitshur authored and gopherbot committed Oct 11, 2023
1 parent 2c09566 commit b24d3b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module golang.org/x/time

go 1.18
3 changes: 0 additions & 3 deletions rate/rate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.7
// +build go1.7

package rate

import (
Expand Down

0 comments on commit b24d3b5

Please sign in to comment.