Documentation
¶
Overview ¶
Package rewriter contains Go source rewriting utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Printer ¶
Printer is an abstraction for Go source printer.
func DefaultPrinter ¶
func DefaultPrinter() Printer
DefaultPrinter returns default Printer implementation
type ReWriter ¶
type ReWriter struct {
// contains filtered or unexported fields
}
ReWriter is a Go source rewriter.
func NewReWriter ¶
NewReWriter creates new ReWriter.
func (ReWriter) RewriteReader ¶
RewriteReader loads sources from given reader and writes output to given writer.
Click to show internal directories.
Click to hide internal directories.