Documentation ¶
Overview ¶
Package bootstrap implements the bootstrapping logic: generation of a .go file to launch the actual generator and launching the generator itself.
The package may be preferred to a command-line utility if generating the serializers from golang code is required.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
PkgPath, PkgName, PkgBuildTags string
Types []string
UseFileBuildTags bool
NoStdMarshalers bool
SnakeCase bool
LowerCamelCase bool
OmitEmpty bool
DisallowUnknownFields bool
SkipMemberNameUnescaping bool
OutName string
BuildTags string
GenBuildFlags string
StubsOnly bool
LeaveTemps bool
NoFormat bool
SimpleBytes bool
}
Click to show internal directories.
Click to hide internal directories.