This commit is contained in:
spiritysdx
2024-07-26 22:19:29 +08:00
parent b5fce2e16b
commit a1491585d6
6 changed files with 9 additions and 10 deletions

View File

@@ -7,10 +7,7 @@ import (
"strings"
)
// 使用gopsutil查询可能会特别慢执行命令查询反而更快
// TODO
// 迁移Shell的完整检测逻辑使用执行命令的方式查询最后都失败才使用gopsutil查询
// 本包不在main中使用
// 本包不在main中使用仅做测试使用
func Basic(language string) {
ipInfo, _, _ := network.NetworkCheck("both", false, language)
systemInfo := system.CheckSystemInfo(language)