Matthieu MOREL
982ee3bc2b
enable misspell linter
2021-12-22 23:19:22 +01:00
Matthieu MOREL
e232c1083c
enable gofumpt linter
2021-12-22 23:09:58 +01:00
Matthieu MOREL
08a73c90a6
Delete run-commit.yml
2021-12-22 23:09:23 +01:00
Matthieu MOREL
6bad729ebd
enable gofmt linter
2021-12-22 23:02:08 +01:00
mmorel-35
1e6b445a8a
gofumpt
2021-12-22 21:54:41 +00:00
Matthieu MOREL
5eac39f418
Update run-commit.yml
2021-12-22 22:54:08 +01:00
Matthieu MOREL
3664dbb362
Update run-commit.yml
2021-12-22 22:48:12 +01:00
mmorel-35
eb5f6203d8
gofmt
2021-12-22 21:46:33 +00:00
Matthieu MOREL
04c870cb3d
Update run-commit.yml
2021-12-22 22:45:57 +01:00
Matthieu MOREL
fbdbfec158
Update run-commit.yml
2021-12-22 22:43:58 +01:00
Matthieu MOREL
a2420eab64
Create run-commit.yml
2021-12-22 22:43:32 +01:00
Matthieu MOREL
5c7609f116
enable durationcheck linter
2021-12-22 22:22:10 +01:00
Matthieu MOREL
c8fd8c7b1f
enable unparam linter
2021-12-22 19:53:14 +01:00
shirou
b1186a68ed
Merge pull request #1191 from shirou/feature/update_mac_cgo
...
[disk][host][mac] fix deprecated code in macOS Monterey
2021-12-22 21:54:48 +09:00
shirou
69ea4bfdae
Merge pull request #1194 from mmorel-35/master
...
Enable errorlint and gci linters
2021-12-22 21:43:03 +09:00
shirou
530dc58cba
Merge pull request #1202 from 851235550/fix-read-lines-offset-n
...
Fix bug for func named ReadLinesOffsetN
2021-12-22 21:39:51 +09:00
wyl
5a288fb852
Fix bug for func named ReadLinesOffsetN
2021-12-20 09:07:46 +08:00
shirou
c6bccaff3b
Merge pull request #1192 from shirou/feature/m1_not_return_when_cpu_freq
...
[cpu][mac] change not return error even if cpu.frequency errors
2021-12-18 11:35:23 +09:00
Matthieu MOREL
8f64de95fa
enable gci linter
2021-12-04 22:37:30 +01:00
Matthieu MOREL
b673968d5d
enable errorlint linter
2021-12-04 22:29:38 +01:00
shirou
bde422a2ff
[cpu][mac] doesn't return error when cpu.frequency
2021-12-04 04:23:33 +00:00
shirou
4c3edcfe56
[mac] fix deprecated code in macOS Monterey
2021-12-04 03:37:03 +00:00
shirou
1ec4629e46
Merge pull request #1174 from shirou/feature/delete_v2
...
delete v2 directory, move v3 to top #1078
2021-12-04 11:33:32 +09:00
shirou
d2e27c1712
fix dependabot v2 deletion.
2021-12-01 00:12:55 +00:00
shirou
0969c9436b
delete v2 directory, move v3 to top #1078
2021-11-30 23:47:59 +00:00
shirou
3b417071a5
Merge pull request #1176 from PierreF/cgo-conflict-names-v3
...
Prefix C function by gopsutil_v3_
v2.21.11
v3.21.11
2021-12-01 08:46:45 +09:00
shirou
aa3378b5ff
Merge pull request #1185 from tbarker25/process-states
...
Add additional process states
2021-11-28 16:37:32 +09:00
shirou
5707c55332
Merge pull request #1186 from tklauser/remove-cgo-file
...
v3/process: remove unused .cgo file
2021-11-28 16:27:37 +09:00
Tobias Klauser
0cc39fe6ca
v3/process: remove unused .cgo file
...
The process_darwin_amd64.go.cgo file was probably added by mistake. The
go tool does not recognize the .cgo extension, so it's already excluded
from the build. The real type and const definitions are in
process_darwin_amd64.go already.
2021-11-23 13:57:47 +01:00
Tom Barker
c6c910cce1
Add additional process states.
2021-11-22 13:32:11 -05:00
shirou
de385f50a8
Merge pull request #1182 from kestrelcjx/kestrel/process
...
fix(process): fix the bug that the program is hung when getting the f…
2021-11-20 22:46:59 +09:00
kestrelcjx
a0b6077502
chore(process): change the return value
2021-11-20 21:25:08 +08:00
kestrelcjx
3b61bb2833
chore(process): add ctx.Done() to break select
2021-11-20 21:12:31 +08:00
shirou
a00b8eac52
Merge pull request #1181 from mikemorris/patch-1
...
deps: switch to recommended fork of StackExchange/wmi
2021-11-20 20:50:52 +09:00
shirou
0fdf65fa3e
Change to use yusufpapurcu/wmi from StackExchange/wmi.
2021-11-20 11:36:30 +00:00
shirou
6e1e70b706
Merge pull request #1180 from tklauser/mem-darwin-sysctluint64
...
mem: use unix.SysctlUint64 for hw.memsize on darwin
2021-11-20 19:55:02 +09:00
kestrelcjx
db054ec106
fix(process): fix the bug that the program is hung when getting the file name
2021-11-20 17:39:22 +08:00
Mike Morris
6ff1f56e09
deps: switch to recommended fork of StackExchange/wmi
2021-11-16 12:50:14 -05:00
Tobias Klauser
d935ecccea
mem: use unix.SysctlUint64 for hw.memsize on darwin
...
Use unix.SysctlUint64 which directly returns an uint64 rather than
converting it from a string.
2021-11-15 10:26:08 +01:00
shirou
78065a7ce2
Merge pull request #1177 from chbuescher/master
...
add initial aix support
2021-11-13 21:18:22 +09:00
shirou
0ce33dbe64
Merge pull request #1166 from easyops-cn/kestrel/process
...
feat(process): implement the 'OpenFilesWithContext' function of the windows system
2021-11-13 20:51:25 +09:00
xca1075
d8728fc85b
add initial aix support
2021-11-12 11:39:46 +01:00
Pierre Fersing
71d0d31e5d
Prefix C function by gopsutil_v3_
...
This should avoid conflict between both:
* Version 2 of gopsutil
* Other library in version 3 that define the same C function
2021-11-10 20:08:15 +01:00
shirou
214bc8d948
Merge pull request #1173 from mmorel-35/golangci-lint
...
setup golangci-lint
2021-11-07 22:38:26 +09:00
Matthieu MOREL
46ae9576ef
enable gosimple linter
2021-11-05 17:40:19 +01:00
Matthieu MOREL
15ce718263
Update lint.yml
2021-11-05 17:04:18 +01:00
Matthieu MOREL
ae6d769a24
setup golangci-lint
2021-11-05 12:04:51 +01:00
shirou
36cc0d3c0b
Merge pull request #1168 from shirou/feature/fix_README_terminal_on_macos
...
remove terminal for macOS on README
v3.21.10
2021-10-30 19:04:30 +09:00
shirou
9bbd81f709
Merge pull request #1105 from fmarmol/master
...
Switch usage from os.*File.Readdir to os.*File.ReadDir.
2021-10-30 18:56:30 +09:00
shirou
0c09b2c9ee
Merge pull request #1167 from shirou/feature/bump_min_version_to_1_16
...
change minimum version to 1.16 on README
2021-10-30 18:54:56 +09:00