We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you compile this:
{ "$schema": "http://json-schema.org/draft-04/schema#", "name": "Repository Configuration", "type": "object", "additionalProperties": false, "required": [ "name" ], "properties": { "name": { "type": "string", "description": "Repository name." }, "include-filename": { "type": "string", "description": "Specify filename instead of default include/all${SHA1_HASH}.json" } } }
you will get this as a result:
package main type Root struct { Include-filename string `json:"include-filename,omitempty"` Name string `json:"name,omitempty"` }
As you see the var Include-filename includes a - which leads to invalid go code
Include-filename
-
The text was updated successfully, but these errors were encountered:
Fix for #16.
360953d
Thanks for raising the issue!
Sorry, something went wrong.
No branches or pull requests
If you compile this:
you will get this as a result:
As you see the var
Include-filename
includes a-
which leads to invalid go codeThe text was updated successfully, but these errors were encountered: