Skip to content

Commit 7f87605

Browse files
开发中
1 parent e8720d7 commit 7f87605

File tree

5 files changed

+219
-138
lines changed

5 files changed

+219
-138
lines changed

chief/GetFile.go chief/GetDisk.go

+110-111
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,110 @@
1-
package chief
2-
3-
import (
4-
"encoding/json"
5-
"fmt"
6-
"strconv"
7-
"syscall"
8-
"unsafe"
9-
"xiaowumin-SFM/Struct"
10-
)
11-
12-
type DiskUsage struct {
13-
Name string
14-
TotalSpace float64
15-
UsedSpace float64
16-
FreeSpace float64
17-
}
18-
19-
const (
20-
DRIVE_FIXED = 3
21-
DRIVE_UNKNOWN = 0
22-
)
23-
24-
var kernel32 = syscall.NewLazyDLL("kernel32.dll")
25-
var getDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW")
26-
var getDriveType = kernel32.NewProc("GetDriveTypeW")
27-
28-
func getDiskUsage() ([]DiskUsage, error) {
29-
var diskUsages []DiskUsage
30-
31-
kernel32 := syscall.NewLazyDLL("kernel32.dll")
32-
GetLogicalDrives := kernel32.NewProc("GetLogicalDrives")
33-
bitmask, _, _ := GetLogicalDrives.Call()
34-
35-
for i := 0; i < 26; i++ {
36-
if (bitmask>>i)&1 == 0 {
37-
continue // Continue if the drive doesn't exist
38-
}
39-
40-
drive := string(rune('A'+i)) + ":\\"
41-
driveType, _, _ := getDriveType.Call(uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(drive))))
42-
if driveType != DRIVE_FIXED {
43-
continue // Continue if the drive is not a fixed drive
44-
}
45-
46-
lpFreeBytesAvailable := int64(0)
47-
lpTotalNumberOfBytes := int64(0)
48-
lpTotalNumberOfFreeBytes := int64(0)
49-
50-
_, _, _ = getDiskFreeSpaceEx.Call(
51-
uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(drive))),
52-
uintptr(unsafe.Pointer(&lpFreeBytesAvailable)),
53-
uintptr(unsafe.Pointer(&lpTotalNumberOfBytes)),
54-
uintptr(unsafe.Pointer(&lpTotalNumberOfFreeBytes)),
55-
)
56-
57-
diskUsages = append(diskUsages, DiskUsage{
58-
Name: drive,
59-
TotalSpace: float64(lpTotalNumberOfBytes) / (1024 * 1024 * 1024),
60-
UsedSpace: (float64(lpTotalNumberOfBytes) - float64(lpTotalNumberOfFreeBytes)) / (1024 * 1024 * 1024),
61-
FreeSpace: float64(lpTotalNumberOfFreeBytes) / (1024 * 1024 * 1024),
62-
})
63-
}
64-
65-
return diskUsages, nil
66-
}
67-
68-
func Config() []byte {
69-
diskUsages, err := getDiskUsage()
70-
if err != nil {
71-
fmt.Println("Failed to retrieve disk usage:", err)
72-
73-
}
74-
75-
var DiskAll []string
76-
var DiskName []string
77-
var DiskFreeSpace []string
78-
var DiskUse []string
79-
for i := 0; i < len(diskUsages); i++ {
80-
DiskAll = append(DiskAll, strconv.FormatFloat(diskUsages[i].TotalSpace, 'f', 2, 64)+" GB")
81-
DiskName = append(DiskName, diskUsages[i].Name)
82-
DiskFreeSpace = append(DiskFreeSpace, strconv.FormatFloat(diskUsages[i].FreeSpace, 'f', 2, 64)+" GB")
83-
DiskUse = append(DiskUse, strconv.FormatFloat(diskUsages[i].UsedSpace, 'f', 2, 64)+" GB")
84-
}
85-
86-
fwqc := Struct.Config{
87-
Disks: struct {
88-
All []string `json:"All"`
89-
Name []string `json:"Name"`
90-
Numbers int `json:"Numbers"`
91-
Residue []string `json:"Residue"`
92-
Use []string `json:"Use"`
93-
}{
94-
All: DiskAll,
95-
Name: DiskName,
96-
Numbers: len(diskUsages),
97-
Residue: DiskFreeSpace,
98-
Use: DiskUse,
99-
},
100-
}
101-
// 打印JSON字符串
102-
// 将结构体转换为JSON字符串
103-
jsonData, err := json.Marshal(fwqc)
104-
if err != nil {
105-
fmt.Println("转换为JSON时出错:", err)
106-
107-
}
108-
109-
// 返回JSON
110-
return jsonData
111-
}
1+
package chief
2+
3+
import (
4+
"encoding/json"
5+
"fmt"
6+
"strconv"
7+
"syscall"
8+
"unsafe"
9+
"xiaowumin-SFM/Struct"
10+
)
11+
12+
type DiskUsage struct {
13+
Name string
14+
TotalSpace float64
15+
UsedSpace float64
16+
FreeSpace float64
17+
}
18+
19+
const (
20+
DRIVE_FIXED = 3
21+
DRIVE_UNKNOWN = 0
22+
)
23+
24+
var kernel32 = syscall.NewLazyDLL("kernel32.dll")
25+
var getDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW")
26+
var getDriveType = kernel32.NewProc("GetDriveTypeW")
27+
28+
func getDiskUsage() ([]DiskUsage, error) {
29+
var diskUsages []DiskUsage
30+
31+
kernel32 := syscall.NewLazyDLL("kernel32.dll")
32+
GetLogicalDrives := kernel32.NewProc("GetLogicalDrives")
33+
bitmask, _, _ := GetLogicalDrives.Call()
34+
35+
for i := 0; i < 26; i++ {
36+
if (bitmask>>i)&1 == 0 {
37+
continue // 如果驱动器不存在,继续
38+
}
39+
40+
drive := string(rune('A'+i)) + ":\\"
41+
driveType, _, _ := getDriveType.Call(uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(drive))))
42+
if driveType != DRIVE_FIXED {
43+
continue // 如果驱动器不是固定驱动器,请继续
44+
}
45+
46+
lpFreeBytesAvailable := int64(0)
47+
lpTotalNumberOfBytes := int64(0)
48+
lpTotalNumberOfFreeBytes := int64(0)
49+
50+
_, _, _ = getDiskFreeSpaceEx.Call(
51+
uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(drive))),
52+
uintptr(unsafe.Pointer(&lpFreeBytesAvailable)),
53+
uintptr(unsafe.Pointer(&lpTotalNumberOfBytes)),
54+
uintptr(unsafe.Pointer(&lpTotalNumberOfFreeBytes)),
55+
)
56+
57+
diskUsages = append(diskUsages, DiskUsage{
58+
Name: drive,
59+
TotalSpace: float64(lpTotalNumberOfBytes) / (1024 * 1024 * 1024),
60+
UsedSpace: (float64(lpTotalNumberOfBytes) - float64(lpTotalNumberOfFreeBytes)) / (1024 * 1024 * 1024),
61+
FreeSpace: float64(lpTotalNumberOfFreeBytes) / (1024 * 1024 * 1024),
62+
})
63+
}
64+
65+
return diskUsages, nil
66+
}
67+
68+
func Config() []byte {
69+
diskUsages, err := getDiskUsage()
70+
if err != nil {
71+
fmt.Println("检索磁盘使用率失败:", err)
72+
}
73+
74+
var DiskAll []string
75+
var DiskName []string
76+
var DiskFreeSpace []string
77+
var DiskUse []string
78+
for i := 0; i < len(diskUsages); i++ {
79+
DiskAll = append(DiskAll, strconv.FormatFloat(diskUsages[i].TotalSpace, 'f', 2, 64)+" GB")
80+
DiskName = append(DiskName, diskUsages[i].Name)
81+
DiskFreeSpace = append(DiskFreeSpace, strconv.FormatFloat(diskUsages[i].FreeSpace, 'f', 2, 64)+" GB")
82+
DiskUse = append(DiskUse, strconv.FormatFloat(diskUsages[i].UsedSpace, 'f', 2, 64)+" GB")
83+
}
84+
85+
fwqc := Struct.Config{
86+
Disks: struct {
87+
All []string `json:"All"`
88+
Name []string `json:"Name"`
89+
Numbers int `json:"Numbers"`
90+
Residue []string `json:"Residue"`
91+
Use []string `json:"Use"`
92+
}{
93+
All: DiskAll,
94+
Name: DiskName,
95+
Numbers: len(diskUsages),
96+
Residue: DiskFreeSpace,
97+
Use: DiskUse,
98+
},
99+
}
100+
// 打印JSON字符串
101+
// 将结构体转换为JSON字符串
102+
jsonData, err := json.Marshal(fwqc)
103+
if err != nil {
104+
fmt.Println("转换为JSON时出错:", err)
105+
106+
}
107+
108+
// 返回JSON
109+
return jsonData
110+
}

chief/HostState.go

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
package chief
2+
3+
import (
4+
"fmt"
5+
"os/exec"
6+
"strconv"
7+
"strings"
8+
9+
"github.com/shirou/gopsutil/v3/mem"
10+
)
11+
12+
func GetHostState() []int { // 获取服务器硬件使用状态
13+
var HostStateData []int
14+
HostStateData = append(HostStateData, getCPUUsage(), getUsedPercent())
15+
return HostStateData
16+
}
17+
18+
func getCPUUsage() int { // 获取服务器的处理器占用
19+
cmd := exec.Command("wmic", "cpu", "get", "loadpercentage")
20+
output, err := cmd.Output()
21+
if err != nil {
22+
fmt.Println("获取CPU使用率失败:", err)
23+
}
24+
25+
cpuUsageStr := strings.Split(string(output), "\n")[1]
26+
cpuUsageStr = strings.TrimSpace(cpuUsageStr) // 清理空格和制表符
27+
28+
// 提取数字部分
29+
cpuUsageStr = strings.Split(cpuUsageStr, " ")[0]
30+
cpuUsage, err := strconv.Atoi(cpuUsageStr)
31+
if err != nil {
32+
fmt.Println("转换内存大小为整数失败:", err)
33+
return 0
34+
}
35+
//fmt.Println("处理器使用率:", cpuUsage)
36+
return cpuUsage
37+
}
38+
39+
func getUsedPercent() int { //获取服务器内存占用,使用了gopsutil库 https://github.com/shirou/gopsutil
40+
v, _ := mem.VirtualMemory()
41+
usedPercent := v.UsedPercent
42+
//fmt.Printf("内存使用率: %.2f\n", usedPercent)
43+
return int(usedPercent)
44+
}

go.mod

+8-1
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,30 @@ require (
88
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
99
github.com/gin-contrib/sse v0.1.0 // indirect
1010
github.com/gin-gonic/gin v1.9.1 // indirect
11+
github.com/go-ole/go-ole v1.2.6 // indirect
1112
github.com/go-playground/locales v0.14.1 // indirect
1213
github.com/go-playground/universal-translator v0.18.1 // indirect
1314
github.com/go-playground/validator/v10 v10.14.0 // indirect
1415
github.com/goccy/go-json v0.10.2 // indirect
1516
github.com/json-iterator/go v1.1.12 // indirect
1617
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
1718
github.com/leodido/go-urn v1.2.4 // indirect
19+
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
1820
github.com/mattn/go-isatty v0.0.19 // indirect
1921
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
2022
github.com/modern-go/reflect2 v1.0.2 // indirect
2123
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
24+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
25+
github.com/shirou/gopsutil/v3 v3.23.10 // indirect
26+
github.com/tklauser/go-sysconf v0.3.12 // indirect
27+
github.com/tklauser/numcpus v0.6.1 // indirect
2228
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
2329
github.com/ugorji/go/codec v1.2.11 // indirect
30+
github.com/yusufpapurcu/wmi v1.2.3 // indirect
2431
golang.org/x/arch v0.3.0 // indirect
2532
golang.org/x/crypto v0.9.0 // indirect
2633
golang.org/x/net v0.10.0 // indirect
27-
golang.org/x/sys v0.8.0 // indirect
34+
golang.org/x/sys v0.13.0 // indirect
2835
golang.org/x/text v0.9.0 // indirect
2936
google.golang.org/protobuf v1.30.0 // indirect
3037
gopkg.in/yaml.v3 v3.0.1 // indirect

go.sum

+25
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE
1212
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
1313
github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg=
1414
github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU=
15+
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
16+
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
1517
github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
1618
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
1719
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
@@ -22,6 +24,9 @@ github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
2224
github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
2325
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
2426
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
27+
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
28+
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
29+
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
2530
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
2631
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
2732
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
@@ -30,6 +35,8 @@ github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZX
3035
github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
3136
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
3237
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
38+
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4=
39+
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=
3340
github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
3441
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
3542
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
@@ -40,6 +47,12 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY
4047
github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ=
4148
github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4=
4249
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
50+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
51+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
52+
github.com/shirou/gopsutil/v3 v3.23.10 h1:/N42opWlYzegYaVkWejXWJpbzKv2JDy3mrgGzKsh9hM=
53+
github.com/shirou/gopsutil/v3 v3.23.10/go.mod h1:JIE26kpucQi+innVlAUnIEOSBhBUkirr5b44yr55+WE=
54+
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
55+
github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k=
4356
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
4457
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
4558
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
@@ -50,21 +63,33 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
5063
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
5164
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
5265
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
66+
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
67+
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=
68+
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
69+
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=
70+
github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
5371
github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
5472
github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
5573
github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU=
5674
github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=
75+
github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFiw=
76+
github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
5777
golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
5878
golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k=
5979
golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
6080
golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
6181
golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
6282
golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
6383
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
84+
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
85+
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
6486
golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6587
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6688
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
6789
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
90+
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
91+
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
92+
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6893
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
6994
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
7095
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

0 commit comments

Comments
 (0)