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 Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider() *Provider
type ProviderInterface ¶
Click to show internal directories.
Click to hide internal directories.