Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGofmtWriteCloser ¶
func NewGofmtWriteCloser(output io.WriteCloser) (io.WriteCloser, error)
NewGofmtWriteCloser returns an io.WriteCloser that filters what is written to it through gofmt. It must be closed for this process to be completed, an error from Close can be due to syntax errors in the source that has been written.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.