Removed pre-go1.17 build-tags with go fix;
go mod init
go fix -mod=readonly ./...
rm go.mod
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
14 lines
149 B
Go
14 lines
149 B
Go
//go:build !windows
|
|
|
|
package container
|
|
|
|
import (
|
|
"os"
|
|
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func isRuntimeSig(s os.Signal) bool {
|
|
return s == unix.SIGURG
|
|
}
|