Merge pull request #13 from piyushdatazip/main #8
golang-ci.yml
on: push
golangci-lint
13s
Build DZ-Cloud
15s
Annotations
10 errors
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)
|
golangci-lint:
jsonschema/generator/generator.go#L37
field `rootPackage` is unused (unused)
|
golangci-lint:
jsonschema/generator/generator.go#L662
func `(*JSONSchemaGenerator).generateMapSchema` is unused (unused)
|