Remove replace directive and fix firmware upgrade error

This commit is contained in:
Elara 2022-05-01 20:40:30 -07:00
parent 321afe0121
commit d75d893409
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ func (c *Client) FirmwareUpgrade(ctx context.Context, upgType UpgradeType, files
Type: upgType,
Files: files,
},
&progressCh,
progressCh,
)
if err != nil {
return nil, err

2
go.mod
View File

@ -2,8 +2,6 @@ module go.arsenm.dev/itd
go 1.17
replace go.arsenm.dev/lrpc => /home/arsen/Code/lrpc
require (
fyne.io/fyne/v2 v2.1.2
github.com/cheggaaa/pb/v3 v3.0.8

2
go.sum
View File

@ -200,6 +200,8 @@ github.com/yuin/goldmark v1.4.1 h1:/vn0k+RBvwlxEmP5E7SZMqNxPhfMVFEJiykr15/0XKM=
github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
go.arsenm.dev/infinitime v0.0.0-20220424030849-6c3f1b14c948 h1:OX1SyEIFz4ae2z468lBQvRTNRvqLEwjfJ8lcssUH5+w=
go.arsenm.dev/infinitime v0.0.0-20220424030849-6c3f1b14c948/go.mod h1:1cBQ3fp6QlRbSqu9kEBAHsVThINj31FtqHIYVsQ7wgg=
go.arsenm.dev/lrpc v0.0.0-20220501221746-f1aa0f5c4f8f h1:IOajj+iaanIr8KFHKV+7WwThyHmXaB9Qf7FEVhEb8Ng=
go.arsenm.dev/lrpc v0.0.0-20220501221746-f1aa0f5c4f8f/go.mod h1:KtIqSuK4mMzHm9OIO2oRtMxSZTooPCnMgtP3Q88N7hw=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=