build: remove build constraint syntax for go 1.16 and older
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//go:build noselfupdate
|
||||
// +build noselfupdate
|
||||
|
||||
package selfupdate
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !noselfupdate
|
||||
// +build !noselfupdate
|
||||
|
||||
// Package selfupdate provides the selfupdate command.
|
||||
package selfupdate
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !noselfupdate
|
||||
// +build !noselfupdate
|
||||
|
||||
package selfupdate
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !noselfupdate
|
||||
// +build !noselfupdate
|
||||
|
||||
package selfupdate
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !noselfupdate
|
||||
// +build !noselfupdate
|
||||
|
||||
package selfupdate
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !windows && !plan9 && !js && !noselfupdate
|
||||
// +build !windows,!plan9,!js,!noselfupdate
|
||||
|
||||
package selfupdate
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
//go:build (plan9 || js) && !noselfupdate
|
||||
// +build plan9 js
|
||||
// +build !noselfupdate
|
||||
|
||||
package selfupdate
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build windows && !noselfupdate
|
||||
// +build windows,!noselfupdate
|
||||
|
||||
package selfupdate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user