Skip to content

Commit

Permalink
build: update to Go 1.21.0 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasell authored Aug 17, 2023
1 parent 02f6da1 commit f8f011a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
version-file: go.mod
- uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
version: v1.54.0
skip-cache: true
run-tests:
timeout-minutes: 10
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hashicorp/go-set

go 1.18
go 1.21

require github.com/shoenig/test v0.6.6

Expand Down
7 changes: 0 additions & 7 deletions set.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ type nothing struct{}

var sentinel = nothing{}

func max(a, b int) int {
if a > b {
return a
}
return b
}

// New creates a new Set with initial underlying capacity of size.
//
// A Set will automatically grow or shrink its capacity as items are added or
Expand Down

0 comments on commit f8f011a

Please sign in to comment.