Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("generator not found")
ErrNotFound for generator.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Name string `yaml:"name"` Kind string `yaml:"kind"` Prefix string `yaml:"prefix"` Suffix string `yaml:"suffix"` Separator string `yaml:"separator"` }
Application fto generate identifiers.
type Config ¶
type Config struct {
Applications []Application `yaml:"applications"`
}
Config for generator.
func (*Config) Application ¶
func (c *Config) Application(name string) *Application
Application by name.
Click to show internal directories.
Click to hide internal directories.