Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LazyFile ¶
type LazyFile struct { // FileName is path to the file to which genny will write. FileName string // contains filtered or unexported fields }
LazyFile is an io.WriteCloser which defers creation of the file it is supposed to write in till the first call to its write function in order to prevent creation of file, if no write is supposed to happen.
Click to show internal directories.
Click to hide internal directories.