Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessedOutput ¶
func ProcessedOutput(filesProcessorsMaps []HandlersMap, outputBuffer *bytes.Buffer, preOrPost string) error
Types ¶
type Handler ¶
Handler takes the content of a file and returns the modified content that will replace it.
type HandlersMap ¶
HandlersMap maps filenames to a Handler functions chain. Each file content will be modified sequentially by each function in the []Handler slice. The final output will overwrite the original.
Click to show internal directories.
Click to hide internal directories.