mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-13 20:16:30 +00:00
c28f7cb29f
Initial part of #435
11 lines
223 B
Go
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
|
|
}
|