Skip to content

Commit 2c70c55

Browse files
committed
Upgraded to GO client V3
1 parent 5a10fda commit 2c70c55

File tree

18 files changed

+75
-75
lines changed

18 files changed

+75
-75
lines changed

command/dashboard/dashboard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
package dashboard
1919

2020
import (
21-
iotclient "github.com/arduino/iot-client-go/v2"
21+
iotclient "github.com/arduino/iot-client-go/v3"
2222
)
2323

2424
// DashboardInfo contains the most interesting

command/device/createlora.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"github.com/arduino/arduino-cloud-cli/arduino/cli"
2727
"github.com/arduino/arduino-cloud-cli/config"
2828
"github.com/arduino/arduino-cloud-cli/internal/iot"
29-
iotclient "github.com/arduino/iot-client-go/v2"
29+
iotclient "github.com/arduino/iot-client-go/v3"
3030
"github.com/sirupsen/logrus"
3131
"go.bug.st/serial"
3232
)

command/device/device.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package device
1919

2020
import (
2121
"github.com/arduino/arduino-cloud-cli/command/tag"
22-
iotclient "github.com/arduino/iot-client-go/v2"
22+
iotclient "github.com/arduino/iot-client-go/v3"
2323
)
2424

2525
// DeviceInfo contains the most interesting

command/device/provision.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
"github.com/arduino/arduino-cloud-cli/internal/binary"
3030
"github.com/arduino/arduino-cloud-cli/internal/serial"
3131
"github.com/arduino/go-paths-helper"
32-
iotclient "github.com/arduino/iot-client-go/v2"
32+
iotclient "github.com/arduino/iot-client-go/v3"
3333
"github.com/sirupsen/logrus"
3434
)
3535

command/ota/massupload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"github.com/arduino/arduino-cloud-cli/internal/ota"
3232
otaapi "github.com/arduino/arduino-cloud-cli/internal/ota-api"
3333

34-
iotclient "github.com/arduino/iot-client-go/v2"
34+
iotclient "github.com/arduino/iot-client-go/v3"
3535
)
3636

3737
const (

command/ota/massupload_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"testing"
2626

2727
otaapi "github.com/arduino/arduino-cloud-cli/internal/ota-api"
28-
iotclient "github.com/arduino/iot-client-go/v2"
28+
iotclient "github.com/arduino/iot-client-go/v3"
2929
"github.com/gofrs/uuid"
3030
"github.com/stretchr/testify/assert"
3131
)

command/template/apply.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"github.com/arduino/arduino-cloud-cli/config"
3232
"github.com/arduino/arduino-cloud-cli/internal/iot"
3333
storageapi "github.com/arduino/arduino-cloud-cli/internal/storage-api"
34-
iotclient "github.com/arduino/iot-client-go/v2"
34+
iotclient "github.com/arduino/iot-client-go/v3"
3535
"github.com/gofrs/uuid"
3636
"github.com/sirupsen/logrus"
3737
)

command/thing/bind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"github.com/arduino/arduino-cloud-cli/config"
2424

2525
"github.com/arduino/arduino-cloud-cli/internal/iot"
26-
iotclient "github.com/arduino/iot-client-go/v2"
26+
iotclient "github.com/arduino/iot-client-go/v3"
2727
)
2828

2929
// BindParams contains the parameters needed to

command/thing/thing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package thing
1919

2020
import (
2121
"github.com/arduino/arduino-cloud-cli/command/tag"
22-
iotclient "github.com/arduino/iot-client-go/v2"
22+
iotclient "github.com/arduino/iot-client-go/v3"
2323
)
2424

2525
// ThingInfo contains the main parameters of

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module github.com/arduino/arduino-cloud-cli
22

3-
go 1.23.0
3+
go 1.23
44

55
require (
66
github.com/arduino/arduino-cli v0.0.0-20240927141754-d9dd4ba1ed71
77
github.com/arduino/go-paths-helper v1.12.1
88
github.com/arduino/go-win32-utils v1.0.0
9-
github.com/arduino/iot-client-go/v2 v2.0.3
9+
github.com/arduino/iot-client-go/v3 v3.0.0
1010
github.com/gofrs/uuid v4.2.0+incompatible
1111
github.com/google/go-cmp v0.6.0
1212
github.com/howeyc/crc16 v0.0.0-20171223171357-2b2a61e366a6
@@ -19,7 +19,7 @@ require (
1919
go.bug.st/cleanup v1.0.0
2020
go.bug.st/serial v1.6.2
2121
golang.org/x/crypto v0.18.0
22-
golang.org/x/oauth2 v0.21.0
22+
golang.org/x/oauth2 v0.23.0
2323
google.golang.org/grpc v1.61.0
2424
gopkg.in/yaml.v3 v3.0.1
2525
gotest.tools v2.2.0+incompatible

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ github.com/arduino/go-properties-orderedmap v1.7.1 h1:HQ9Pn/mk3+XyfrE39EEvaZwJkr
7171
github.com/arduino/go-properties-orderedmap v1.7.1/go.mod h1:DKjD2VXY/NZmlingh4lSFMEYCVubfeArCsGPGDwb2yk=
7272
github.com/arduino/go-win32-utils v1.0.0 h1:/cXB86sOJxOsCHP7sQmXGLkdValwJt56mIwOHYxgQjQ=
7373
github.com/arduino/go-win32-utils v1.0.0/go.mod h1:0jqM7doGEAs6DaJCxxhLBUDS5OawrqF48HqXkcEie/Q=
74-
github.com/arduino/iot-client-go/v2 v2.0.3 h1:/mYkInEgr2a4s3bSFhjCzynBApPcYlpDwsuTQiyMbag=
75-
github.com/arduino/iot-client-go/v2 v2.0.3/go.mod h1:kwX4B2AVEWl5ug94QbQ087xbvLFa9Co//jhbM/Z2eSQ=
74+
github.com/arduino/iot-client-go/v3 v3.0.0 h1:vZ4CWrHOSi2B8rRVzFY5l5fFSNYKYXWOyJ0V39E2JAs=
75+
github.com/arduino/iot-client-go/v3 v3.0.0/go.mod h1:r2QEAP5Jalkr0YWNPhFl0EJzFRQNy24wN5CVbn11f64=
7676
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
7777
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
7878
github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc=
@@ -582,8 +582,8 @@ golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ
582582
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
583583
golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
584584
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
585-
golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs=
586-
golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
585+
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
586+
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
587587
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
588588
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
589589
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

0 commit comments

Comments
 (0)