all: add go:build lines for Go1.17

See https://tip.golang.org/doc/go1.17#gofmt for more details
This commit is contained in:
Aliaksandr Valialkin 2021-07-26 14:09:12 +03:00
parent 95aff47330
commit 8b7917cd81
14 changed files with 16 additions and 2 deletions

View file

@ -1,3 +1,4 @@
//go:build go1.15
// +build go1.15
package promql

View file

@ -1,3 +1,4 @@
//go:build cgo
// +build cgo
package encoding

View file

@ -1,3 +1,4 @@
//go:build !cgo
// +build !cgo
package encoding

View file

@ -1,3 +1,4 @@
//go:build cgo
// +build cgo
package zstd

View file

@ -1,3 +1,4 @@
//go:build !cgo
// +build !cgo
package zstd

View file

@ -1,3 +1,4 @@
//go:build cgo
// +build cgo
package zstd

View file

@ -1,3 +1,4 @@
//go:build linux || freebsd
// +build linux freebsd
package fs

View file

@ -1,3 +1,4 @@
//go:build linux || darwin || freebsd
// +build linux darwin freebsd
package fs

View file

@ -1,3 +1,4 @@
//go:build linux || darwin || freebsd || openbsd
// +build linux darwin freebsd openbsd
package fs

View file

@ -1,3 +1,4 @@
//go:build go1.15
// +build go1.15
package logger

View file

@ -1,3 +1,4 @@
//go:build freebsd || openbsd || dragonfly || netbsd
// +build freebsd openbsd dragonfly netbsd
package memory

View file

@ -1,3 +1,4 @@
//go:build darwin || freebsd || openbsd || dragonfly || netbsd
// +build darwin freebsd openbsd dragonfly netbsd
package memory

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package procutil

View file

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package procutil