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

0 commit comments

Comments
 (0)