Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Tables []struct {
Name string `yaml:"name"`
Columns map[string]string `yaml:"columns"`
}
Eav []struct {
Name string `yaml:"name"`
Attributes map[string]string `yaml:"attributes"`
}
}
func (Config) ProcessTable ¶
type LineProcessor ¶
type LineProcessor struct {
Mode string
Config *Config
Provider ProviderInterface
Eav *Eav
}
func NewLineProcessor ¶
func NewLineProcessor(m string, c *Config, p ProviderInterface, e *Eav) *LineProcessor
func (LineProcessor) ProcessLine ¶
func (p LineProcessor) ProcessLine(s string) string
type ProviderInterface ¶
Click to show internal directories.
Click to hide internal directories.