From 1ad382220048339cb1aeecef7d69b9ddffd9168c Mon Sep 17 00:00:00 2001 From: Jamie Liu Date: Tue, 20 Jul 2021 16:24:59 -0700 Subject: Add go:build directives as required by Go 1.17's gofmt. PiperOrigin-RevId: 385894869 --- pkg/gohacks/gohacks_unsafe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/gohacks') diff --git a/pkg/gohacks/gohacks_unsafe.go b/pkg/gohacks/gohacks_unsafe.go index 374aac2b4..09fc14787 100644 --- a/pkg/gohacks/gohacks_unsafe.go +++ b/pkg/gohacks/gohacks_unsafe.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build go1.13 -// +build !go1.18 +//go:build go1.13 && !go1.18 +// +build go1.13,!go1.18 // Check type signatures when updating Go version. -- cgit v1.2.3