Merge pull request #14 from piyushdatazip/main #9
golang-ci.yml
on: push
golangci-lint
26s
Build DZ-Cloud
10s
Annotations
10 errors
golangci-lint:
logger/logger.go#L97
Error return value of `(*github.com/goccy/go-json.Encoder).Encode` is not checked (errcheck)
|
golangci-lint:
logger/logger.go#L100
Error return value of `(*github.com/goccy/go-json.Encoder).Encode` is not checked (errcheck)
|
golangci-lint:
jsonschema/cmd/root.go#L118
Error return value of `cmd.Usage` is not checked (errcheck)
|
golangci-lint:
jsonschema/cmd/root.go#L330
SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (staticcheck)
|
golangci-lint:
jsonschema/cmd/root.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint:
jsonschema/generator/doc_test.go#L70
Error return value of `aparser.RegisterFactory` is not checked (errcheck)
|
golangci-lint:
jsonschema/generator/generator.go#L124
Error return value of `aparser.RegisterFactory` is not checked (errcheck)
|
golangci-lint:
jsonschema/generator/generator.go#L502
Error return value of `g.addCommonAttrsForField` is not checked (errcheck)
|
golangci-lint:
jsonschema/generator/generator_test.go#L42
Error return value of `aparser.RegisterFactory` is not checked (errcheck)
|
golangci-lint:
jsonschema/generator/schema_attrs.go#L222
Error return value of `schema.SetDefault` is not checked (errcheck)
|