xml

package
v0.0.0-...-7fc396a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 4 Imported by: 0

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

type Handler func(content string) (string, error)

Handler takes the content of a file and returns the modified content that will replace it.

type HandlersMap

type HandlersMap map[string][]Handler

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL