Versions in this module Expand all Collapse all v0 v0.1.1 May 29, 2024 v0.1.0 May 28, 2024 Changes in this version + func ExtractName(path string) string + func GetFileContent(path string) ([]byte, error) + func IsDirectory(path string) bool + func IsValidPath(path string) bool + type SourceCollector struct + BasePath string + Input string + Output string + Validator validators.Validator + func NewSourceCollector(input string, output string) (*SourceCollector, error) + func (sc *SourceCollector) GenerateSourceTree() (*SourceTree, error) + func (sc *SourceCollector) GenerateSourceTreeStructure(sourceTree *SourceTree) (string, error) + func (sc *SourceCollector) Save(sourceTree *SourceTree, sourceTreeStructure string) error + type SourceNode struct + Name string + Path string + type SourceTree struct + Nodes []*SourceTree + Root *SourceNode