[ Status ] optimize the code

This commit is contained in:
IceDerce
2023-06-15 17:03:22 +08:00
parent 4b3f7be1dd
commit 54569cc41b
17 changed files with 123 additions and 157 deletions

View File

@@ -46,4 +46,5 @@ func GetCPUStatus() (*CPUStatus, error) {
CPULoads: cpuLoads,
SystemLoads: systemLoads,
}, nil
}