Documentation
¶
Overview ¶
Package gen wires loading, parsing, resolving, and code generation into a single operation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// Dir is the working directory for package patterns.
Dir string
// Patterns are package patterns such as ./... or ./cmd/server.
Patterns []string
// LoomPath is the loom package import path.
LoomPath string
// DryRun generates without writing files.
DryRun bool
}
Options configures a generation run.
Click to show internal directories.
Click to hide internal directories.