interagent / schematic

A Go point of view on JSON Schema
https://godoc.org/github.com/interagent/schematic
MIT License
321 stars 33 forks source link

Fix for #36 #37

Open a-h opened 8 years ago

a-h commented 8 years ago

The error message was actually a gofmt error, the underlying problem was that a missing JSON schema title resulted in invalid go code.

I improved the error descriptions in a few places and defaulted the package name to "main" if the JSON schema title was omitted.

a-h commented 8 years ago

The Travis CI build is failing because the build attempts to pull down https://code.google.com/p/go.tools/cmd/cover - but that's now a redirect to https://github.com/golang/go and the build configuration needs to be updated. Go development switched to github in 2014.

josegonzalez commented 8 years ago

Any chance this can be merged? This fixes an issue I'm having locally with this library.