Documentation
¶
Index ¶
- type Processor
- func (p *Processor) FromFile(filename string) *Processor
- func (p *Processor) FromReader(r io.Reader, currentDir string) *Processor
- func (p *Processor) FromString(content string, currentDir string) *Processor
- func (p *Processor) SetMaxDepth(depth int) *Processor
- func (p *Processor) SetPrefix(prefix string) *Processor
- func (p *Processor) ToFile(outputPath string) error
- func (p *Processor) ToReader() (io.Reader, error)
- func (p *Processor) ToString() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor 文件包含处理器
func (*Processor) FromReader ¶
FromReader 从io.Reader输入
func (*Processor) FromString ¶
FromString 从字符串输入
func (*Processor) SetMaxDepth ¶
SetMaxDepth 设置最大递归深度
Click to show internal directories.
Click to hide internal directories.