Skip to content

go code generation based on a given json-schema

License

Notifications You must be signed in to change notification settings

sevenval/structgen

Repository files navigation

structgen

Generate Go Structs out of a given JSON Schema

This generator creates at least map[string]*Object fields and more objects with deeper nesting in the schema tree. Also considering the more important PatternProperties for e.g. a docker-compose schema.

Status

Some kind of alpha. Issues / MRs are welcome.

Known issues

  • Resolve more interface{} types
  • run some kind go fmt for the generated output

Releases

No releases published

Packages

No packages published

Languages