Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Go struct {
Path string `yaml:"path" mapstructure:"path"`
Tools golang `yaml:"tools" mapstructure:"tools"`
} `yaml:"go" mapstructure:"go"`
}
var (
Cfg Config
)
type Processor ¶
type Processor interface {
AddTask(ProcessorFunc)
ProcessAll() error
}
type ProcessorFunc ¶
type ProcessorFunc func() error
type SimpleProcessor ¶
func (*SimpleProcessor) AddTask ¶
func (p *SimpleProcessor) AddTask(processorFunc ProcessorFunc)
func (*SimpleProcessor) ProcessAll ¶
func (p *SimpleProcessor) ProcessAll() error
Click to show internal directories.
Click to hide internal directories.