Skip to content

Commit 4449be7

Browse files
committed
go1.17 gofmt
1 parent 54c03e5 commit 4449be7

19 files changed

+20
-0
lines changed

cmd/internal/storage/influxdb/influxdb_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build influxdb_test
1516
// +build influxdb_test
17+
1618
// To run unit test: go test -tags influxdb_test
1719

1820
package influxdb

fs/fs.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build linux
1516
// +build linux
1617

1718
// Provides Filesystem Stats

integration/tests/api/perf_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build libpfm && cgo
12
// +build libpfm,cgo
23

34
// Copyright 2020 Google Inc. All Rights Reserved.

machine/operatingsystem_unix.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build freebsd || darwin || linux
1516
// +build freebsd darwin linux
1617

1718
package machine

nvm/machine_libipmctl.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build libipmctl && cgo
12
// +build libipmctl,cgo
23

34
// Copyright 2020 Google Inc. All Rights Reserved.

nvm/machine_no_libipmctl.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !libipmctl || !cgo
12
// +build !libipmctl !cgo
23

34
// Copyright 2020 Google Inc. All Rights Reserved.

perf/collector_libpfm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build libpfm && cgo
12
// +build libpfm,cgo
23

34
// Copyright 2020 Google Inc. All Rights Reserved.

perf/collector_libpfm_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build libpfm && cgo
12
// +build libpfm,cgo
23

34
// Copyright 2020 Google Inc. All Rights Reserved.

perf/collector_no_libpfm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !libpfm || !cgo
12
// +build !libpfm !cgo
23

34
// Copyright 2020 Google Inc. All Rights Reserved.

perf/manager_libpfm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build libpfm && cgo
12
// +build libpfm,cgo
23

34
// Copyright 2020 Google Inc. All Rights Reserved.

0 commit comments

Comments
 (0)