omissis/go-jsonschema

View on GitHub
pkg/codegen/model.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Package.Generate has 5 return statements (exceeds 4 allowed).
Open

func (p *Package) Generate(out *Emitter) {
    out.Comment(p.Comment)
    out.Printlnf("package %s", p.Name())

    if len(p.Imports) > 0 {
Severity: Major
Found in pkg/codegen/model.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status