Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Name string // struct name (default: "Root")
Package string // package name (default: "main")
Inline bool // inline nested structs
OmitEmpty bool // add omitempty to all fields
UsePointer bool // use pointers for optional fields
}
Options configures the json2struct command behavior
Click to show internal directories.
Click to hide internal directories.