Documentation
¶
Overview ¶
Package generator provides internal implementation for TOML to Go code generation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator handles the conversion of TOML config to Go code.
type Option ¶
type Option func(*Generator)
Option configures a Generator.
func WithEnvOverride ¶
WithEnvOverride enables environment variable override support.
func WithInputDir ¶ added in v0.0.3
WithInputDir sets the input directory for resolving relative file paths.
func WithMaxFileSize ¶ added in v0.0.3
WithMaxFileSize sets the maximum file size for file: references.
func WithPackageName ¶
WithPackageName sets the package name for generated code.
Click to show internal directories.
Click to hide internal directories.