walker

package
v0.0.0-...-29ae4b4 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileWriterProvider

type FileWriterProvider struct {
	Path string
}

func (*FileWriterProvider) New

func (p *FileWriterProvider) New() (io.WriteCloser, error)

New ...

type StdoutProvider

type StdoutProvider struct{}

StdoutProvider ...

func (*StdoutProvider) New

func (p *StdoutProvider) New() (io.WriteCloser, error)

New ...

type Walker

type Walker struct {
	BaseDir       string
	Ext           string
	InterfaceName string

	WriterProvider WriterProvider
}

DefaultWalker ...

func (*Walker) Walk

func (w *Walker) Walk(path string, info os.FileInfo, err error) error

Walk ...

type WriterProvider

type WriterProvider interface {
	New() (io.WriteCloser, error)
}

WriterProvider ...

Jump to

Keyboard shortcuts

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