Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
SourceDir: ".",
OutputDir: "output",
PatternFilesToParse: "*.html",
PatternFilesToExclude: "gigo",
PatternDirsToExclude: ".idea",
}
Functions ¶
func ParseFiles ¶
Types ¶
type Config ¶
type Config struct { SourceDir string `yaml:"sourceDir,omitempty"` OutputDir string `yaml:"outputDir,omitempty"` PatternFilesToParse string `yaml:"patternFilesToParse,omitempty"` PatternFilesToExclude string `yaml:"patternFilesToExclude,omitempty"` PatternDirsToExclude string `yaml:"patternDirsToExclude,omitempty"` }
func LoadConfig ¶
type FilesParser ¶
type FilesParser struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.