Commit Graph

3 Commits

Author SHA1 Message Date
Matthieu MOREL a33d97be0e chore(deps): bump golang.org/x/sys to v0.2.0
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2023-01-13 09:58:21 -08:00
Tobias Klauser 52d707b772 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-05-19 21:18:08 -07:00
Tobias Klauser 0a2b9b5464 Add support for Go modules
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2019-11-06 09:42:02 -08:00