diff --git a/osutils/fds.go b/sys/fds.go similarity index 95% rename from osutils/fds.go rename to sys/fds.go index 98fc930..3c1ec67 100644 --- a/osutils/fds.go +++ b/sys/fds.go @@ -1,6 +1,6 @@ // +build !windows,!darwin -package osutils +package sys import ( "io/ioutil" diff --git a/osutils/prctl.go b/sys/prctl.go similarity index 99% rename from osutils/prctl.go rename to sys/prctl.go index 1d6e251..2715773 100644 --- a/osutils/prctl.go +++ b/sys/prctl.go @@ -3,7 +3,7 @@ // Package osutils provide access to the Get Child and Set Child prctl // flags. // See http://man7.org/linux/man-pages/man2/prctl.2.html -package osutils +package sys import ( "syscall" diff --git a/osutils/prctl_solaris.go b/sys/prctl_solaris.go similarity index 96% rename from osutils/prctl_solaris.go rename to sys/prctl_solaris.go index 88d6c71..9443f14 100644 --- a/osutils/prctl_solaris.go +++ b/sys/prctl_solaris.go @@ -1,6 +1,6 @@ // +build solaris -package osutils +package sys import ( "errors" diff --git a/osutils/proc.go b/sys/proc.go similarity index 98% rename from osutils/proc.go rename to sys/proc.go index 1bb728e..fbe7b51 100644 --- a/osutils/proc.go +++ b/sys/proc.go @@ -1,6 +1,6 @@ // +build linux -package osutils +package sys import ( "bufio" diff --git a/osutils/reaper.go b/sys/reaper.go similarity index 98% rename from osutils/reaper.go rename to sys/reaper.go index 6a80335..343cc8f 100644 --- a/osutils/reaper.go +++ b/sys/reaper.go @@ -1,6 +1,6 @@ // +build !windows -package osutils +package sys import "syscall"