Help us shape the future of Go! Take the 2026 Go Developer Survey

processor

package
v0.3.1100 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindTemplates added in v0.0.1057

func FindTemplates(srcPath string, shouldSkip func(string) bool, output chan<- string) (err error)

func Process

func Process(dir string, f func(fileName string) (error, bool), workerCount int, shouldSkip func(string) bool, results chan<- Result)

func ProcessChannel added in v0.0.1057

func ProcessChannel(templates <-chan string, dir string, f func(fileName string) (error, bool), workerCount int, results chan<- Result)

Types

type Result

type Result struct {
	FileName    string
	Duration    time.Duration
	Error       error
	ChangesMade bool
}

Jump to

Keyboard shortcuts

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