From 1be66e0f58a3b8090cdc2df132d4e09955870cd3 Mon Sep 17 00:00:00 2001 From: andig Date: Sun, 27 Feb 2022 22:06:21 +0100 Subject: [PATCH] chore: complete Go version upgrade --- util/goversion/constraint.go | 6 +++--- util/goversion/version.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/util/goversion/constraint.go b/util/goversion/constraint.go index a6b7a7c2d..7aee559a9 100644 --- a/util/goversion/constraint.go +++ b/util/goversion/constraint.go @@ -1,8 +1,8 @@ // Approach from https://github.com/theckman/goconstraint/ // Package goversion should only be used as a blank import. If imported, it -// will only compile if the Go runtime version is >= 1.16. +// will only compile if the Go runtime version is >= 1.17. package goversion -// This will fail to compile if the Go runtime version isn't >= 1.16. -var _ = __EVCC_REQUIRES_GO_VERSION_1_16__ +// This will fail to compile if the Go runtime version isn't >= 1.17. +var _ = __EVCC_REQUIRES_GO_VERSION_1_17__ diff --git a/util/goversion/version.go b/util/goversion/version.go index 441eced48..637a80298 100644 --- a/util/goversion/version.go +++ b/util/goversion/version.go @@ -1,6 +1,6 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.17 +// +build go1.17 package goversion -const __EVCC_REQUIRES_GO_VERSION_1_16__ = uint8(0) +const __EVCC_REQUIRES_GO_VERSION_1_17__ = uint8(0)