Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go.mod: update minimum version to go1.17
golang.org/x/sys now requires go1.17 as a minimum, and otherwise fails: Error: ../../../go/pkg/mod/golang.org/x/sys@v0.2.0/unix/syscall.go:83:16: undefined: unsafe.Slice Error: ../../../go/pkg/mod/golang.org/x/sys@v0.2.0/unix/syscall_linux.go:2256:9: undefined: unsafe.Slice Error: ../../../go/pkg/mod/golang.org/x/sys@v0.2.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice Error: ../../../go/pkg/mod/golang.org/x/sys@v0.2.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice unsafe.Slice was added in go1.17; https://pkg.go.dev/unsafe#Slice Now that go1.17 is the minimum version, we cal also replace the deprecated io/ioutil package (which was deprecated in go1.16). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information