Skip to content

Commit

Permalink
deps: update to go-set/v2 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig authored Jan 18, 2024
1 parent a88eebd commit 17cf943
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.6

require (
github.com/hashicorp/go-set v0.1.14
github.com/hashicorp/go-set/v2 v2.1.0
github.com/shoenig/go-landlock v1.2.0
github.com/shoenig/ignore v0.4.0
github.com/shoenig/test v1.7.0
Expand All @@ -16,7 +16,6 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gojuno/minimock/v3 v3.3.6 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/hashicorp/go-set/v2 v2.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/sys v0.16.0 // indirect
kernel.org/pub/linux/libs/security/libcap/psx v1.2.69 // indirect
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5y
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/hashicorp/go-set v0.1.14 h1:ZU7JyS6QGueDuXYldjcuyKLR0XV14eOKcsQlGddXGgA=
github.com/hashicorp/go-set v0.1.14/go.mod h1:FH9zJxnQYHPlZ7j9JaoQjZOFPBStOrelKOE11Wjwirc=
github.com/hashicorp/go-set/v2 v2.1.0 h1:iERPCQWks+I+4bTgy0CT2myZsCqNgBg79ZHqwniohXo=
github.com/hashicorp/go-set/v2 v2.1.0/go.mod h1:6q4nh8UCVZODn2tJ5RbJi8+ki7pjZBsAEYGt6yaGeTo=
github.com/hexdigest/gowrap v1.1.7/go.mod h1:Z+nBFUDLa01iaNM+/jzoOA1JJ7sm51rnYFauKFUB5fs=
Expand Down
2 changes: 1 addition & 1 deletion internal/command/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path/filepath"
"sort"

"github.com/hashicorp/go-set"
"github.com/hashicorp/go-set/v2"
"github.com/shoenig/go-landlock"
"github.com/shoenig/ssh-key-sync/internal/config"
"github.com/shoenig/ssh-key-sync/internal/logs"
Expand Down
2 changes: 1 addition & 1 deletion internal/command/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/hashicorp/go-set"
"github.com/hashicorp/go-set/v2"
"github.com/shoenig/ssh-key-sync/internal/logs"
"github.com/shoenig/ssh-key-sync/internal/ssh"
"github.com/shoenig/test/must"
Expand Down
2 changes: 1 addition & 1 deletion internal/netapi/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"time"

"github.com/hashicorp/go-set"
"github.com/hashicorp/go-set/v2"
"github.com/shoenig/ssh-key-sync/internal/ssh"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/netapi/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http"
"strings"

"github.com/hashicorp/go-set"
"github.com/hashicorp/go-set/v2"
"github.com/shoenig/ignore"
"github.com/shoenig/ssh-key-sync/internal/config"
"github.com/shoenig/ssh-key-sync/internal/logs"
Expand Down
2 changes: 1 addition & 1 deletion internal/ssh/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"strings"

"github.com/hashicorp/go-set"
"github.com/hashicorp/go-set/v2"
)

type KeysReader interface {
Expand Down

0 comments on commit 17cf943

Please sign in to comment.