Documentation
¶
Overview ¶
Package gojson generates go struct defintions from JSON documents
Reads from stdin and prints to stdout ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ForceFloats bool //nolint:gochecknoglobals
ForceFloats forces all numbers to be floats.
Functions ¶
func FmtFieldName ¶
FmtFieldName formats a string as a struct key
Example:
FmtFieldName("foo_id")/
Output: FooID.
Types ¶
Click to show internal directories.
Click to hide internal directories.