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/state/state_norace.go | 1 + pkg/state/state_race.go | 1 + pkg/state/tests/register_test.go | 1 + 3 files changed, 3 insertions(+) (limited to 'pkg/state') diff --git a/pkg/state/state_norace.go b/pkg/state/state_norace.go index 4281aed6d..be09d6141 100644 --- a/pkg/state/state_norace.go +++ b/pkg/state/state_norace.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build !race // +build !race package state diff --git a/pkg/state/state_race.go b/pkg/state/state_race.go index 8232981ce..c9f4fd5cf 100644 --- a/pkg/state/state_race.go +++ b/pkg/state/state_race.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build race // +build race package state diff --git a/pkg/state/tests/register_test.go b/pkg/state/tests/register_test.go index 75bdbfc6e..2199d6b01 100644 --- a/pkg/state/tests/register_test.go +++ b/pkg/state/tests/register_test.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build race // +build race package tests -- cgit v1.2.3