mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00:00
Remove legacy +build:
constraint (#19582)
Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed.
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package graceful
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
|
||||
|
||||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
package graceful
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
|
||||
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package graceful
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
|
||||
|
||||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
package graceful
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
|
||||
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package graceful
|
||||
|
||||
|
Reference in New Issue
Block a user