Skip to content

Commit 185cfd5

Browse files
authored
Move to v2 module structure (#74)
1 parent fb8fda8 commit 185cfd5

15 files changed

+36
-29
lines changed

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install Go
2626
uses: actions/setup-go@v4
2727
with:
28-
go-version: '1.18'
28+
go-version: '1.19'
2929

3030
- name: Go mod tidy
3131
run: go mod tidy

go.mod

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
module github.com/arduino/iot-client-go
1+
module github.com/arduino/iot-client-go/v2
22

3-
go 1.18
3+
go 1.19
44

55
require (
6-
golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558
6+
github.com/stretchr/testify v1.9.0
7+
golang.org/x/oauth2 v0.21.0
8+
)
9+
10+
require (
11+
github.com/davecgh/go-spew v1.1.1 // indirect
12+
github.com/pmezard/go-difflib v1.0.0 // indirect
13+
gopkg.in/yaml.v3 v3.0.1 // indirect
714
)

go.sum

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
2-
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
3-
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
4-
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
5-
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg=
6-
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
7-
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0=
8-
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
9-
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw=
10-
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
11-
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
12-
google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=
13-
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
1+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
2+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3+
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
4+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
5+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
6+
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
7+
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
8+
golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs=
9+
golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
10+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
11+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
12+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
13+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

test/api_dashboards_v2_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_devices_v2_certs_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_devices_v2_ota_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_devices_v2_pass_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_devices_v2_tags_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_devices_v2_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_lora_devices_v1_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_lora_freq_plan_v1_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_properties_v2_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_series_v2_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_things_v2_tags_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/api_things_v2_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)