Skip to content

Commit

Permalink
更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Nov 22, 2023
1 parent d04f6c7 commit faa1940
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
7 changes: 5 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/farseer-go/fs
go 1.19

require (
github.com/shirou/gopsutil v2.21.11+incompatible
github.com/shirou/gopsutil/v3 v3.23.10
github.com/stretchr/testify v1.8.4
github.com/timandy/routine v1.1.2
gopkg.in/yaml.v3 v3.0.1
Expand All @@ -12,9 +12,12 @@ require (
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
golang.org/x/sys v0.14.0 // indirect
golang.org/x/sys v0.13.0 // indirect
)
8 changes: 4 additions & 4 deletions system/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package system
import (
"fmt"
"github.com/farseer-go/fs/net"
"github.com/shirou/gopsutil/cpu"
"github.com/shirou/gopsutil/disk"
"github.com/shirou/gopsutil/host"
"github.com/shirou/gopsutil/mem"
"github.com/shirou/gopsutil/v3/cpu"
"github.com/shirou/gopsutil/v3/disk"
"github.com/shirou/gopsutil/v3/host"
"github.com/shirou/gopsutil/v3/mem"
)

type resource struct {
Expand Down
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
go get github.com/shirou/gopsutil/v3
go get github.com/timandy/routine
go get github.com/stretchr/testify
go get gopkg.in/yaml.v3

0 comments on commit faa1940

Please sign in to comment.