diff --git a/cpu/cpu_darwin_nocgo.go b/cpu/cpu_darwin_nocgo.go index ca545705..0b7d1f99 100644 --- a/cpu/cpu_darwin_nocgo.go +++ b/cpu/cpu_darwin_nocgo.go @@ -3,7 +3,7 @@ package cpu -import "github.com/shirou/gopsutil/common" +import "github.com/shirou/gopsutil/internal/common" func perCPUTimes() ([]CPUTimesStat, error) { return []CPUTimesStat{}, common.NotImplementedError diff --git a/cpu/cpu_freebsd.go b/cpu/cpu_freebsd.go index 2c22a395..5df67b3d 100644 --- a/cpu/cpu_freebsd.go +++ b/cpu/cpu_freebsd.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) // sys/resource.h diff --git a/cpu/cpu_windows.go b/cpu/cpu_windows.go index 96f4c70f..408d6a68 100644 --- a/cpu/cpu_windows.go +++ b/cpu/cpu_windows.go @@ -10,7 +10,7 @@ import ( "github.com/StackExchange/wmi" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) type Win32_Processor struct { diff --git a/disk/disk_darwin.go b/disk/disk_darwin.go index 095bbda6..fbf97c61 100644 --- a/disk/disk_darwin.go +++ b/disk/disk_darwin.go @@ -6,7 +6,7 @@ import ( "syscall" "unsafe" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) func DiskPartitions(all bool) ([]DiskPartitionStat, error) { diff --git a/disk/disk_freebsd.go b/disk/disk_freebsd.go index 11dd495d..7e32c4b6 100644 --- a/disk/disk_freebsd.go +++ b/disk/disk_freebsd.go @@ -9,7 +9,7 @@ import ( "syscall" "unsafe" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) const ( diff --git a/disk/disk_windows.go b/disk/disk_windows.go index 24f8b170..5ebe2dbc 100644 --- a/disk/disk_windows.go +++ b/disk/disk_windows.go @@ -9,7 +9,7 @@ import ( "github.com/StackExchange/wmi" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) var ( diff --git a/host/host_darwin.go b/host/host_darwin.go index 0a0e462c..2a3a02d6 100644 --- a/host/host_darwin.go +++ b/host/host_darwin.go @@ -13,7 +13,7 @@ import ( "strings" "unsafe" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) func HostInfo() (*HostInfoStat, error) { diff --git a/host/host_freebsd.go b/host/host_freebsd.go index edff5b7e..95a71542 100644 --- a/host/host_freebsd.go +++ b/host/host_freebsd.go @@ -13,7 +13,7 @@ import ( "strings" "unsafe" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) const ( diff --git a/host/host_windows.go b/host/host_windows.go index e8ba125d..51f2d605 100644 --- a/host/host_windows.go +++ b/host/host_windows.go @@ -11,8 +11,8 @@ import ( "github.com/StackExchange/wmi" - common "github.com/shirou/gopsutil/common" - process "github.com/shirou/gopsutil/common/process" + "github.com/shirou/gopsutil/internal/common" + process "github.com/shirou/gopsutil/process" ) var ( diff --git a/load/load_darwin.go b/load/load_darwin.go index d90a4290..0d1c7ecc 100644 --- a/load/load_darwin.go +++ b/load/load_darwin.go @@ -5,7 +5,7 @@ package load import ( "strconv" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) func LoadAvg() (*LoadAvgStat, error) { diff --git a/load/load_freebsd.go b/load/load_freebsd.go index d82afbec..e97c5698 100644 --- a/load/load_freebsd.go +++ b/load/load_freebsd.go @@ -5,7 +5,7 @@ package load import ( "strconv" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) func LoadAvg() (*LoadAvgStat, error) { diff --git a/load/load_windows.go b/load/load_windows.go index 70ad565d..65a6ba73 100644 --- a/load/load_windows.go +++ b/load/load_windows.go @@ -3,7 +3,7 @@ package load import ( - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) func LoadAvg() (*LoadAvgStat, error) { diff --git a/mem/mem_darwin.go b/mem/mem_darwin.go index 921d8709..ba4dbd82 100644 --- a/mem/mem_darwin.go +++ b/mem/mem_darwin.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) func getPageSize() (uint64, error) { diff --git a/mem/mem_freebsd.go b/mem/mem_freebsd.go index 2791fca8..57467794 100644 --- a/mem/mem_freebsd.go +++ b/mem/mem_freebsd.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) func VirtualMemory() (*VirtualMemoryStat, error) { diff --git a/mem/mem_windows.go b/mem/mem_windows.go index 985ab8fd..2696da58 100644 --- a/mem/mem_windows.go +++ b/mem/mem_windows.go @@ -6,7 +6,7 @@ import ( "syscall" "unsafe" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) var ( diff --git a/net/net_darwin.go b/net/net_darwin.go index 65c21f88..26ef7052 100644 --- a/net/net_darwin.go +++ b/net/net_darwin.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) // example of netstat -idbn output on yosemite diff --git a/net/net_freebsd.go b/net/net_freebsd.go index 703d3219..482f187b 100644 --- a/net/net_freebsd.go +++ b/net/net_freebsd.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) { diff --git a/net/net_windows.go b/net/net_windows.go index 8937c4e8..3edaf1dc 100644 --- a/net/net_windows.go +++ b/net/net_windows.go @@ -8,7 +8,7 @@ import ( "syscall" "unsafe" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" ) var ( diff --git a/process/process_darwin.go b/process/process_darwin.go index dab9f136..86b270b1 100644 --- a/process/process_darwin.go +++ b/process/process_darwin.go @@ -10,7 +10,7 @@ import ( "syscall" "unsafe" - "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" "github.com/shirou/gopsutil/cpu" "github.com/shirou/gopsutil/net" ) diff --git a/process/process_freebsd.go b/process/process_freebsd.go index 5fce2083..d92543ce 100644 --- a/process/process_freebsd.go +++ b/process/process_freebsd.go @@ -7,7 +7,7 @@ import ( "encoding/binary" "unsafe" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" cpu "github.com/shirou/gopsutil/cpu" net "github.com/shirou/gopsutil/net" ) diff --git a/process/process_windows.go b/process/process_windows.go index 124ea756..d7a4b1cb 100644 --- a/process/process_windows.go +++ b/process/process_windows.go @@ -12,7 +12,7 @@ import ( "github.com/StackExchange/wmi" "github.com/shirou/w32" - common "github.com/shirou/gopsutil/common" + "github.com/shirou/gopsutil/internal/common" cpu "github.com/shirou/gopsutil/cpu" net "github.com/shirou/gopsutil/net" )