pull/4/head
WAKAYAMA shirou 11 years ago
parent ac570a47a1
commit 4bf256a08a

@ -10,7 +10,6 @@ import (
"bufio"
"os"
"strings"
)
// Read contents from file and split by new line.
@ -33,7 +32,6 @@ func ReadLines(filename string) ([]string, error) {
return ret, err
}
func byteToString(orig []byte) string {
n := -1
for i, b := range orig {

@ -9,6 +9,5 @@ import (
func Cpu_times() ([]CPU_TimesStat, error) {
ret := make([]CPU_TimesStat, 0)
fmt.Println("FreeBSD")
return ret, nil
}

@ -3,8 +3,8 @@
package gopsutil
import (
"encoding/binary"
"bytes"
"encoding/binary"
"io/ioutil"
"os"
"syscall"

@ -24,7 +24,6 @@ func TestBoot_time(t *testing.T) {
}
}
func TestUsers(t *testing.T) {
v, err := Users()
if err != nil {

Loading…
Cancel
Save