Switch back to using distatus/battery upstream repo

Got PR merged upstream https://github.com/distatus/battery/pull/10
This commit is contained in:
Caleb Bassi 2019-02-16 04:12:52 -08:00
parent 334f08bc5a
commit 27a9ea080b
18 changed files with 6 additions and 6 deletions

2
go.mod
View File

@ -2,8 +2,8 @@ module github.com/cjbassi/gotop
require (
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
github.com/cjbassi/battery v0.0.0-20190206091651-451cd0de3f6f
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/distatus/battery v0.9.0
github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815
github.com/gizak/termui v0.0.0-20190124041613-958a28575d74
github.com/go-ole/go-ole v1.2.1 // indirect

4
go.sum
View File

@ -1,9 +1,9 @@
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/cjbassi/battery v0.0.0-20190206091651-451cd0de3f6f h1:XtDkrKpWZomFY5YY7vjj/n024Ei/cpLrnrKvXrHI+2s=
github.com/cjbassi/battery v0.0.0-20190206091651-451cd0de3f6f/go.mod h1:2n8ndIjf01nC3TA2E53AuA1fERGEwTEp/g354pR1T/I=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/distatus/battery v0.9.0 h1:8NS5o00/j3Oh2xgocA6pQROTp5guoR+s8CZlWzHC4QM=
github.com/distatus/battery v0.9.0/go.mod h1:gGO7GxHTi1zlRT+cAj8uGG0/8HFiqAeH0TJvoipnuPs=
github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815 h1:HMAfwOa33y82IaQEKQDfUCiwNlxtM1iw7HLM9ru0RNc=
github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:l7JNRynTRuqe45tpIyItHNqZWTxywYjp87MWTOnU5cg=
github.com/gizak/termui v0.0.0-20190124041613-958a28575d74 h1:gQbT+IgWIflxp7EQaxWGgGoHAxEFzvP36DyxiBGEV9g=

View File

@ -8,7 +8,7 @@ import (
"sync"
"time"
"github.com/cjbassi/battery"
"github.com/distatus/battery"
ui "github.com/cjbassi/gotop/src/termui"
)

4
vendor/modules.txt vendored
View File

@ -1,7 +1,7 @@
# github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6
github.com/StackExchange/wmi
# github.com/cjbassi/battery v0.0.0-20190206091651-451cd0de3f6f
github.com/cjbassi/battery
# github.com/distatus/battery v0.9.0
github.com/distatus/battery
# github.com/docopt/docopt.go v0.0.0-20180111231733-ee0de3bc6815
github.com/docopt/docopt.go
# github.com/gizak/termui v0.0.0-20190124041613-958a28575d74