Fakedata generator #700
Annotations
6 errors and 1 warning
Lint, Build and Test:
tools/fakedata/main.go#L7
use of `println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Lint, Build and Test:
pkg/fakedata/infra.go#L8
don't use `init` function (gochecknoinits)
|
Lint, Build and Test:
pkg/fakedata/compile.go#L24
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"unknown type: \" + root.Type)" (err113)
|
Lint, Build and Test:
pkg/fakedata/options.go#L41
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"invalid options value type\")" (err113)
|
Lint, Build and Test:
internal/handler/mock/handler.go#L64
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"response is not defined\")" (err113)
|
Lint, Build and Test
issues found
|
Lint, Build and Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|