diff options
author | Jamie Liu <jamieliu@google.com> | 2021-07-20 16:24:59 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-07-20 16:28:45 -0700 |
commit | 1ad382220048339cb1aeecef7d69b9ddffd9168c (patch) | |
tree | c555c63fb053fbe05d245e37463bc181043c6279 /pkg/state | |
parent | 7ced03b3831983e35cb25ad0a9d5632ea322f9a4 (diff) |
Add go:build directives as required by Go 1.17's gofmt.
PiperOrigin-RevId: 385894869
Diffstat (limited to 'pkg/state')
-rw-r--r-- | pkg/state/state_norace.go | 1 | ||||
-rw-r--r-- | pkg/state/state_race.go | 1 | ||||
-rw-r--r-- | pkg/state/tests/register_test.go | 1 |
3 files changed, 3 insertions, 0 deletions
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 |