diff --git a/pkg/util/testutil/racedetection/off.go b/pkg/util/testutil/racedetection/off.go index 73620f67f3f..d57125bfd03 100644 --- a/pkg/util/testutil/racedetection/off.go +++ b/pkg/util/testutil/racedetection/off.go @@ -1,8 +1,10 @@ +// Copyright 2020 The Swarm Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + //go:build !race // +build !race package racedetection const On = false - - diff --git a/pkg/util/testutil/racedetection/on.go b/pkg/util/testutil/racedetection/on.go index 4a304ad0adf..92438ecfdc3 100644 --- a/pkg/util/testutil/racedetection/on.go +++ b/pkg/util/testutil/racedetection/on.go @@ -1,3 +1,7 @@ +// Copyright 2020 The Swarm Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + //go:build race // +build race diff --git a/pkg/util/testutil/racedetection/race.go b/pkg/util/testutil/racedetection/race.go index 14baac2349f..411295e87f6 100644 --- a/pkg/util/testutil/racedetection/race.go +++ b/pkg/util/testutil/racedetection/race.go @@ -1,3 +1,7 @@ +// Copyright 2020 The Swarm Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + package racedetection func IsOn() bool {