Documentation
¶
Overview ¶
Package generator provides the core functionality for generating getter and setter methods for Go struct fields. This package analyzes Go structs and generates appropriate accessor methods based on struct tags and configuration.
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 generates getter and setter methods for struct fields.
func NewGenerator ¶
func NewGenerator(config *GeneratorConfig) *Generator
NewGenerator creates a new Generator with the given configuration.
Click to show internal directories.
Click to hide internal directories.