Merge pull request #85 from openapphub/main

update:更新 gopsutil 版本
This commit is contained in:
青松
2025-12-17 18:58:03 +08:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

3
glc/go.mod Normal file → Executable file
View File

@@ -8,7 +8,7 @@ require (
github.com/gin-gonic/gin v1.10.0
github.com/gotoeasy/glang v0.21.4
github.com/rabbitmq/amqp091-go v1.10.0
github.com/shirou/gopsutil v3.21.11+incompatible
github.com/shirou/gopsutil/v3 v3.24.5
github.com/syndtr/goleveldb v1.0.0
)
@@ -50,7 +50,6 @@ require (
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/rs/xid v1.6.0 // indirect
github.com/shirou/gopsutil/v3 v3.24.5 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect

2
glc/ldb/sysmnt/storage_data.go Normal file → Executable file
View File

@@ -12,7 +12,7 @@ import (
"time"
"github.com/gotoeasy/glang/cmn"
"github.com/shirou/gopsutil/disk"
"github.com/shirou/gopsutil/v3/disk"
)
type StorageResult struct {