mirror of
https://github.com/MedzikUser/go-utils.git
synced 2024-08-15 03:26:56 +00:00
gofmt
This commit is contained in:
parent
7cc987e305
commit
9ac45c7a3a
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ func CPU() (StatCPU, error) {
|
||||||
pid := os.Getpid()
|
pid := os.Getpid()
|
||||||
|
|
||||||
stat := StatCPU{
|
stat := StatCPU{
|
||||||
Num: runtime.NumCPU(),
|
Num: runtime.NumCPU(),
|
||||||
Arch: runtime.GOARCH,
|
Arch: runtime.GOARCH,
|
||||||
}
|
}
|
||||||
|
|
||||||
sysInfo, err := pidusage.GetStat(pid)
|
sysInfo, err := pidusage.GetStat(pid)
|
||||||
|
|
Loading…
Reference in a new issue