Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: lint
on: [push]
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60.3
- name: go mod tidy check
uses: katexochen/go-tidy-check@v2
3 changes: 2 additions & 1 deletion alt_set_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ func BenchmarkNativeMapFind(b *testing.B) {
//println(x)
}
}

/*
func myGenStringData(size, count int) (result []string) {
src := rand.New(rand.NewSource(int64(size * count)))
letters := []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
Expand Down Expand Up @@ -469,3 +469,4 @@ func myGenerateInt64Data(n int) (data []int64) {
}
return
}
*/