-
Notifications
You must be signed in to change notification settings - Fork 10
feat: Rewrite using the new Framework instead of the old SDKv2. #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,88 @@ | ||
| version: "2" | ||
| run: | ||
| build-tags: | ||
| - netgo | ||
| - requires_docker | ||
| - requires_libpcap | ||
| output: | ||
| formats: | ||
| text: | ||
| path: stdout | ||
| colors: false | ||
| linters: | ||
| default: none | ||
| enable: | ||
| # Checks whether HTTP response body is closed successfully. | ||
| - bodyclose | ||
| # Checks whether Rows.Err of rows is checked successfully. | ||
| # - rowserrcheck # Does not support generics yet (see https://github.com/golangci/golangci-lint/issues/2649) | ||
| # Detects places where loop variables are copied. | ||
| - copyloopvar | ||
| # Checks assignments with too many blank identifiers (e.g. x, , , _, := f()). | ||
| - dogsled | ||
| # Tool for code clone detection. | ||
| - dupl | ||
| # Checking for unchecked errors in Go code. | ||
| # These unchecked errors can be critical bugs in some cases. | ||
| - errcheck | ||
| # Find code that will cause problems with the error wrapping scheme introduced in Go 1.13. | ||
| - errorlint | ||
| - fatcontext | ||
| # Finds repeated strings that could be replaced by a constant. | ||
| - goconst | ||
| # Checks that printf-like functions are named with f at the end. | ||
| - goprintffuncname | ||
| # Inspects source code for security problems. | ||
| - gosec | ||
| # Vet examines Go source code and reports suspicious constructs. | ||
| - govet | ||
| # Detects when assignments to existing variables are not used. | ||
| - ineffassign | ||
| # Finds commonly misspelled English words. | ||
| - misspell | ||
| # Checks that functions with naked returns are not longer than a maximum size (can be zero). | ||
| - nakedret | ||
| # It's a set of rules from staticcheck. | ||
| # Reports ill-formed or insufficient nolint directives. | ||
| - nolintlint | ||
| # Fast, configurable, extensible, flexible, and beautiful linter for Go. | ||
| - revive | ||
| - staticcheck | ||
| # Remove unnecessary type conversions. | ||
| - unconvert | ||
| # Reports unused function parameters. | ||
| - unparam | ||
| # Reports unused function parameters. | ||
| - unused | ||
| settings: | ||
| errorlint: | ||
| errorf: false | ||
| asserts: false | ||
| comparison: true | ||
| exclusions: | ||
| generated: lax | ||
| presets: | ||
| - comments | ||
| - common-false-positives | ||
| - legacy | ||
| - std-error-handling | ||
| rules: | ||
| - linters: | ||
| - revive | ||
| text: if-return | ||
| paths: | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ | ||
| formatters: | ||
| enable: | ||
| # Check whether code was gofmt-ed. | ||
| - gofmt | ||
| # Check import statements are formatted according to the 'goimport' command. | ||
| - goimports | ||
| exclusions: | ||
| generated: lax | ||
| paths: | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| version: '3' | ||
|
|
||
| services: | ||
|
|
||
| mimir: | ||
|
|
||
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.