refactor: upgrade distatus/battery

This commit is contained in:
Jan De Dobbeleer 2020-12-26 11:20:59 +01:00 committed by Jan De Dobbeleer
parent 9a47ed71b7
commit 3c7b3447d5
2 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,7 @@ require (
github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38 github.com/alecthomas/assert v0.0.0-20170929043011-405dbfeb8e38
github.com/alecthomas/colour v0.1.0 // indirect github.com/alecthomas/colour v0.1.0 // indirect
github.com/alecthomas/repr v0.0.0-20201103221029-55c485bd663f // indirect github.com/alecthomas/repr v0.0.0-20201103221029-55c485bd663f // indirect
github.com/distatus/battery v0.10.1-0.20200722221337-7e1bf2bbb15c github.com/distatus/battery v0.10.0
github.com/go-ole/go-ole v1.2.4 // indirect github.com/go-ole/go-ole v1.2.4 // indirect
github.com/gookit/color v1.3.5 github.com/gookit/color v1.3.5
github.com/mattn/go-isatty v0.0.12 // indirect github.com/mattn/go-isatty v0.0.12 // indirect
@ -22,6 +22,5 @@ require (
muzzammil.xyz/jsonc v0.0.0-20200627155943-e1c384b63054 muzzammil.xyz/jsonc v0.0.0-20200627155943-e1c384b63054
) )
replace github.com/distatus/battery v0.10.1-0.20200722221337-7e1bf2bbb15c => github.com/JanDeDobbeleer/battery v0.10.1-0.20200909080331-bb0a7566dbb8 replace github.com/distatus/battery v0.10.0 => github.com/JanDeDobbeleer/battery v0.10.0-1
replace github.com/gookit/color v1.3.5 => github.com/JanDeDobbeleer/color v1.3.5-1 replace github.com/gookit/color v1.3.5 => github.com/JanDeDobbeleer/color v1.3.5-1

View file

@ -1,3 +1,5 @@
github.com/JanDeDobbeleer/battery v0.10.0-1 h1:3N3i3xgvrrb3eCuX4kJnmbKzOiqkH1Ly1D7lAJJJTqA=
github.com/JanDeDobbeleer/battery v0.10.0-1/go.mod h1:STnSvFLX//eEpkaN7qWRxCWxrWOcssTDgnG4yqq9BRE=
github.com/JanDeDobbeleer/battery v0.10.1-0.20200909080331-bb0a7566dbb8 h1:+SZ7qtnuEFJmun53J2UzzbwBf5jtS/GkE9CZlkiPdSU= github.com/JanDeDobbeleer/battery v0.10.1-0.20200909080331-bb0a7566dbb8 h1:+SZ7qtnuEFJmun53J2UzzbwBf5jtS/GkE9CZlkiPdSU=
github.com/JanDeDobbeleer/battery v0.10.1-0.20200909080331-bb0a7566dbb8/go.mod h1:STnSvFLX//eEpkaN7qWRxCWxrWOcssTDgnG4yqq9BRE= github.com/JanDeDobbeleer/battery v0.10.1-0.20200909080331-bb0a7566dbb8/go.mod h1:STnSvFLX//eEpkaN7qWRxCWxrWOcssTDgnG4yqq9BRE=
github.com/JanDeDobbeleer/color v1.3.1-0.20201226083802-039df48570df h1:uRRjiiJyUC15eMJsVLnbWNohCmjd0teUplT0AB438c8= github.com/JanDeDobbeleer/color v1.3.1-0.20201226083802-039df48570df h1:uRRjiiJyUC15eMJsVLnbWNohCmjd0teUplT0AB438c8=