Skip to content

Commit

Permalink
Bump go-switchbot to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
nasa9084 committed Mar 30, 2023
1 parent 8752ecc commit b4af298
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/nasa9084/switchbot-exporter
go 1.19

require (
github.com/nasa9084/go-switchbot/v2 v2.1.0
github.com/nasa9084/go-switchbot/v3 v3.0.0
github.com/prometheus/client_golang v1.14.0
)

Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,8 @@ github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3Rllmb
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/nasa9084/go-switchbot/v2 v2.0.1 h1:jSpAhqyTfqr7fXB/DSd6ap8l9pRzE0NLmXjvlAMlIVE=
github.com/nasa9084/go-switchbot/v2 v2.0.1/go.mod h1:/BhZWClJhZFyyK1Uql10HcLM3YdbP6vVjucynAZHGDo=
github.com/nasa9084/go-switchbot/v2 v2.1.0 h1:3gz8sIh7O1GCBjqsY7bL+JIOf56x7aJCYpfb4CdFwLw=
github.com/nasa9084/go-switchbot/v2 v2.1.0/go.mod h1:/BhZWClJhZFyyK1Uql10HcLM3YdbP6vVjucynAZHGDo=
github.com/nasa9084/go-switchbot/v3 v3.0.0 h1:h2nA0rzm9LhedknOpzUGNDXu77dhrN0sDVueEeigYoY=
github.com/nasa9084/go-switchbot/v3 v3.0.0/go.mod h1:hrZUTHehZjib+vOCk9Rik5xvKQJ0KZKDOmyiIzonlI4=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"os/signal"
"syscall"

switchbot "github.com/nasa9084/go-switchbot/v2"
switchbot "github.com/nasa9084/go-switchbot/v3"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
)
Expand Down

0 comments on commit b4af298

Please sign in to comment.