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 expression builder from golang code is required.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstraper ¶
type Bootstraper struct {
PkgPath, PkgName string
Types []string
// TODO: make it more efficient, make a new struct to hold `struct` heirarchial psotioning
RootStructNames []string // struct which holds the schema of a single DDB item
OutName string
LeaveTemps bool
NoFormat bool
}
func (*Bootstraper) Run ¶
func (g *Bootstraper) Run() error
Click to show internal directories.
Click to hide internal directories.