woodpecker/vendor/github.com/golangci/dupl/printer/printer.go
Lukas c28f7cb29f
Add golangci-lint (#502)
Initial part of #435
2021-11-14 21:01:54 +01:00

11 lines
223 B
Go

package printer
import "github.com/golangci/dupl/syntax"
type ReadFile func(filename string) ([]byte, error)
type Printer interface {
PrintHeader() error
PrintClones(dups [][]*syntax.Node) error
PrintFooter() error
}