This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
netns
mirror of
https://github.com/vishvananda/netns
Watch
1
Star
0
Fork
You've already forked netns
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
fa017945dd
netns
/
go.mod
6 lines
78 B
Modula-2
Raw
Normal View
History
Unescape
Escape
Add support for Go modules Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2019-06-07 11:32:41 +00:00
module
github
.
com
/
vishvananda
/
netns
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>
2023-01-13 19:26:53 +00:00
go
1.17
Use golang.org/x/sys/unix instead of syscall The syscall package is deprecated and no longer updated as per https://golang.org/pkg/syscall/. Use the golang.org/x/sys/unix package instead, which also provides a wrapper for SYS_SETNS, so the syscall number encoding depending on runtime.GOARCH can be dropped. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-02-18 18:06:06 +00:00
chore(deps): bump golang.org/x/sys to v0.2.0 Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2022-11-24 20:53:56 +00:00
require
golang
.
org
/
x
/
sys
v0
.
2.0