瀏覽代碼

all: go fmt ./...

Make all our package sources use Go 1.17 gofmt format
(adding //go:build lines).

Not strictly necessary but will avoid spurious changes
as files are edited.

Part of //go:build change (#41184).
See https://golang.org/design/draft-gobuild

Change-Id: Ie289a4e2e52e68b7a6515102fb12d386beeb7a72
Reviewed-on: https://go-review.googlesource.com/c/time/+/294375
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Russ Cox 4 年之前
父節點
當前提交
f8bda1e9f3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      rate/rate_test.go

+ 1 - 0
rate/rate_test.go

@@ -2,6 +2,7 @@
 // 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