package bootstrap
import "github.com/mailru/easyjson/bootstrap"
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 ¶
Types ¶
type Generator ¶
type Generator struct {
PkgPath, PkgName string
Types []string
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
}
func (*Generator) Run ¶
Source Files ¶
- Version
- v0.9.0 (latest)
- Published
- Dec 14, 2024
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 1 year ago –
Tools for package owners.