This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from andrerun/golang-1-8
Update to golang 1.18, replace linter, update project structure
- Loading branch information
Showing
2,114 changed files
with
501,500 additions
and
329,869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ test/output | |
test/e2e_test_data | ||
|
||
# IDE config | ||
.idea | ||
.vscode | ||
|
||
# developers workspace | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
run: | ||
concurrency: 4 | ||
deadline: 10m | ||
# some of the linters don't work correctly with 1.18, ref https://github.com/golangci/golangci-lint/issues/2649 | ||
# we are not using generics, so let's pin this to 1.17 until 1.18 is fully supported | ||
go: "1.17" | ||
|
||
linters: | ||
enable: | ||
- gocritic | ||
- gosec | ||
- revive | ||
|
||
skip-files: | ||
- "zz_generated\\..*\\.go$" | ||
|
||
issues: | ||
exclude-use-default: false | ||
exclude: | ||
# - var-naming # ((var|const|struct field|func) .* should be .* | ||
- dot-imports # should not use dot imports | ||
- "exported: (type|func) name will be used as .* by other packages, and that stutters;" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.