[REFACTOR] Structure and packages refactor #36
verify.yml
on: pull_request
Verify Backend Code Quality
51s
Verify Backend Code Functionality
40s
publish_release
0s
Annotations
10 errors
Verify Backend Code Quality:
pkg/logger/logger_test.go#L53
Error return value of `log.Sync` is not checked (errcheck)
|
Verify Backend Code Quality:
pkg/logger/logger_test.go#L82
Error return value of `log.Sync` is not checked (errcheck)
|
Verify Backend Code Quality:
pkg/endpoints/endpoint_test.go#L56
captLocal: `FilePath' should not be capitalized (gocritic)
|
Verify Backend Code Quality:
pkg/config/config_test.go#L35
File is not `gofumpt`-ed (gofumpt)
|
Verify Backend Code Quality:
pkg/endpoints/endpoint_test.go#L32
File is not `gofumpt`-ed (gofumpt)
|
Verify Backend Code Quality:
pkg/logger/logger_test.go#L23
os.Setenv() can be replaced by `test.Setenv()` in anonymous function (tenv)
|
Verify Backend Code Quality:
pkg/logger/logger_test.go#L26
os.Setenv() can be replaced by `test.Setenv()` in anonymous function (tenv)
|
Verify Backend Code Quality:
pkg/logger/logger_test.go#L43
os.Setenv() can be replaced by `test.Setenv()` in anonymous function (tenv)
|
Verify Backend Code Quality:
pkg/logger/logger_test.go#L74
os.Setenv() can be replaced by `test.Setenv()` in anonymous function (tenv)
|
Verify Backend Code Quality:
pkg/endpoints/endpoint_test.go#L87
"GET" can be replaced by http.MethodGet (usestdlibvars)
|