forked from dtaniwaki/cron-hpa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: sivchari <shibuuuu5@gmail.com>
- Loading branch information
Showing
11 changed files
with
111 additions
and
111 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
run: | ||
timeout: 30m | ||
|
||
linters-settings: | ||
govet: | ||
enable-all: true | ||
disable: | ||
- shadow | ||
- atomicalign | ||
- fieldalignment | ||
revive: | ||
rules: | ||
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#var-naming | ||
- name: var-naming | ||
gci: | ||
sections: | ||
# Standard section: captures all standard packages. | ||
- standard | ||
# Default section: contains all imports that could not be matched to another section type. | ||
- default | ||
# Custom section: groups all imports with the specified Prefix. | ||
- prefix(github.com/ubie-oss) | ||
skip-generated: true | ||
custom-order: true | ||
linters: | ||
disable-all: true | ||
enable: | ||
- testifylint | ||
- tparallel | ||
- bodyclose | ||
- gofumpt | ||
- containedctx | ||
- tenv | ||
- govet | ||
- ineffassign | ||
- staticcheck | ||
- unused | ||
- exportloopref | ||
- gci | ||
- ginkgolinter | ||
- gocritic | ||
- makezero | ||
- misspell | ||
- prealloc | ||
- revive | ||
|
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package controllers | ||
|
||
type CTX_VALUE_KEY string | ||
type CtxValueKey string | ||
|
||
var ( | ||
CTX_VALUE_NAME CTX_VALUE_KEY = "name" | ||
CTX_VALUE_NAMESPACE CTX_VALUE_KEY = "namespace" | ||
CtxValueName CtxValueKey = "name" | ||
CtxValueNamespace CtxValueKey = "namespace" | ||
) |
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
Oops, something went wrong.