Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Environment ¶
type Environment struct {
YMLPath string // The .yml file path used as a configuration file.
Output bool // Whether to print the generated code to stdout.
}
Environment represents the copygen environment.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package config loads configuration data from an external file.
|
Package config loads configuration data from an external file. |
|
templates
Package templates provides a template used by copygen to generate custom code.
|
Package templates provides a template used by copygen to generate custom code. |
|
Package matcher matches fields.
|
Package matcher matches fields. |
|
Package models defines the domain models that model field relations and manipulation.
|
Package models defines the domain models that model field relations and manipulation. |
|
Package parser parses a setup file's functions, types, and fields using an Abstract Syntax Tree.
|
Package parser parses a setup file's functions, types, and fields using an Abstract Syntax Tree. |
Click to show internal directories.
Click to hide internal directories.