shirou_gopsutil/host
Tobias Klauser 7bee6a934d host: fix TestHostInfoStat_String
TestHostInfoStat_String has been broken since kernelArch has been
introduced. Fix it.

Also adjust the error message to show the wanted string, aligned with
the gotten string so it's easier to spot differences.
2020-02-13 14:41:11 +01:00
..
freebsd_headers [freebsd][host]: fix Users() return start secs. 2019-07-06 23:45:22 +09:00
include Restored temperature info for macOS 2019-12-13 16:03:44 +01:00
host.go [host] Fix #737 add KernelArch field in InfoStat struct returning 'uname -m' result 2019-08-08 23:11:41 +02:00
host_darwin.go Restored temperature info for macOS 2019-12-13 16:03:44 +01:00
host_darwin_386.go Add Go-native structs for Darwin/386 and FreeBSD/arm 2017-01-31 22:56:31 -08:00
host_darwin_amd64.go [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 2016-03-22 23:09:12 +09:00
host_darwin_cgo.go fix compilation warnings 2019-12-16 11:24:55 +01:00
host_darwin_nocgo.go Restored temperature info for macOS 2019-12-13 16:03:44 +01:00
host_fallback.go [host] fallback: implement PlatformInformation() 2018-03-24 15:57:29 +09:00
host_freebsd.go [host] Fix #737 add KernelArch field in InfoStat struct returning 'uname -m' result 2019-08-08 23:11:41 +02:00
host_freebsd_386.go [freebsd]host: change freebsd struct for 386 and arm. 2019-07-06 23:49:57 +09:00
host_freebsd_amd64.go [freebsd][host]: fix Users() return start secs. 2019-07-06 23:45:22 +09:00
host_freebsd_arm.go [freebsd]host: change freebsd struct for 386 and arm. 2019-07-06 23:49:57 +09:00
host_freebsd_arm64.go Add support for freebsd/arm64 2019-12-17 03:12:29 -05:00
host_linux.go fix host.Info() panic if /etc/debian_version is empty 2020-01-17 14:23:27 -05:00
host_linux_386.go [host]linux: forgot to add sizeOfUtmp. 2016-04-23 22:18:34 +09:00
host_linux_amd64.go [host]linux: fix i386 and gofmt. 2016-04-23 21:34:27 +09:00
host_linux_arm.go [host]linux: fix i386 and gofmt. 2016-04-23 21:34:27 +09:00
host_linux_arm64.go Add type definitions for arm64 and ppc64le 2016-04-28 23:16:55 +02:00
host_linux_mips.go Add type definitions for mips and mipsle 2017-08-27 02:36:33 +09:00
host_linux_mips64.go [host]linux/mips: copy mips64 definition from mips. 2018-03-31 22:05:15 +09:00
host_linux_mips64le.go [host] linux/mips: mips64le definition from mipsle 2018-04-08 09:21:08 +08:00
host_linux_mipsle.go Add type definitions for mips and mipsle 2017-08-27 02:36:33 +09:00
host_linux_ppc64le.go [host]Windows: BootTime and Uptime are reversed on Windows. 2016-06-12 23:20:51 +09:00
host_linux_s390x.go add platform compatibility 2017-01-27 20:35:58 -05:00
host_linux_test.go change package name. 2014-12-30 22:09:05 +09:00
host_openbsd.go [host] Fix #737 add KernelArch field in InfoStat struct returning 'uname -m' result 2019-08-08 23:11:41 +02:00
host_openbsd_amd64.go run go fmt ./... 2017-02-01 23:05:29 +00:00
host_posix.go Trim null bytes from kernel arch 2019-08-12 13:32:14 -07:00
host_solaris.go [host] Fix #737 add KernelArch field in InfoStat struct returning 'uname -m' result 2019-08-08 23:11:41 +02:00
host_test.go host: fix TestHostInfoStat_String 2020-02-13 14:41:11 +01:00
host_windows.go [host] Fix #737 add KernelArch field in InfoStat struct returning 'uname -m' result 2019-08-08 23:11:41 +02:00
types.go [host] go-fmt and propagate context on Windows in Info() 2019-08-07 22:34:36 +02:00
types_darwin.go host: Users() on darwin works. but Started is not correct. 2015-02-14 23:04:17 +09:00
types_freebsd.go [freebsd][host]: fix Users() return start secs. 2019-07-06 23:45:22 +09:00
types_linux.go [host]linux-arm: update type_liux.go. Test will fail. 2016-04-10 10:07:35 +00:00
types_openbsd.go run go fmt ./... 2017-02-01 23:05:29 +00:00