From 925f8fa74fbc8458e143d88075c93cb463377603 Mon Sep 17 00:00:00 2001 From: WAKAYAMA Shirou Date: Wed, 30 Apr 2014 17:15:28 +0900 Subject: [PATCH] remove go-ps --- host_windows.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/host_windows.go b/host_windows.go index dea38ba..6d79d81 100644 --- a/host_windows.go +++ b/host_windows.go @@ -6,8 +6,6 @@ import ( "os" "syscall" "unsafe" - - "github.com/shirou/go-ps" ) var ( @@ -30,7 +28,7 @@ func HostInfo() (HostInfoStat, error) { ret.Uptime = int64(uptimemsec) / 1000 - procs, err := ps.Processes() + procs, err := Pids() if err != nil { return ret, err }