add ci and set revive #5
Annotations
12 errors and 3 warnings
build:
converter_example_test.go#L20
ExampleToFloat refers to unknown identifier: ToFloat
|
build
Process completed with exit code 1.
|
lint:
validator.go#L28
var `notNumberRegexp` is unused (unused)
|
lint:
validator_test.go#L3516
type `Test3` is unused (unused)
|
lint:
patterns.go#L70
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
|
lint:
types.go#L78
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
|
lint:
types.go#L79
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
|
lint:
validator.go#L615
S1008: should use 'return len(str[3:]) <= 32767' instead of 'if len(str[3:]) > 32767 { return false }; return true' (gosimple)
|
lint:
validator.go#L625
S1008: should use 'return rxARUnixPath.MatchString(string(str))' instead of 'if rxARUnixPath.MatchString(string(str)) { return true }; return false' (gosimple)
|
lint:
converter_example_test.go#L20
tests: ExampleToFloat refers to unknown identifier: ToFloat (govet)
|
lint:
converter.go#L49
ineffectual assignment to err (ineffassign)
|
lint:
arrays_benchmark_test.go#L29
ineffectual assignment to value (ineffassign)
|
lint
Unexpected input(s) 'go_version', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
lint
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
|
lint
Unexpected input(s) 'go_version', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|