Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Formatter ¶
type Formatter struct {
Log *slog.Logger
Dir string
Process func(fileName string) (error, bool)
WorkerCount int
FailIfChange bool
ShouldSkip func(string) bool
// TemplateExtension is the project's configured template extension,
// which decides what the walk treats as a template.
TemplateExtension string
}
func NewFormatter ¶
Click to show internal directories.
Click to hide internal directories.