Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSingle ¶
Types ¶
type Config ¶
type Config struct {
Loggers []LoggerConfig `yaml:"loggers"`
GoTemplates []GoTemplateConfig `yaml:"gotmpls"`
// contains filtered or unexported fields
}
func (*Config) RenderGoTemplate ¶
type GoTemplateConfig ¶
type GoTemplateConfig struct {
Src string `yaml:"src"`
Dst string `yaml:"dst"`
Go bool `yaml:"go"`
Data interface{} `yaml:"data"`
}
func (*GoTemplateConfig) Render ¶
func (c *GoTemplateConfig) Render(root string) error
type LoggerConfig ¶
Click to show internal directories.
Click to hide internal directories.