package
Version:
v0.0.0-...-f4e8587
Opens a new window with list of versions in this module.
Published: Jul 25, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package file contains helpers to write auto-generated Go source files.
Append a code snippet to a file.
Reset an auto-generated source file, writing a new empty file header.
Buffer for accumulating source code output.
L accumulates a single line of source code.
N accumulates a single new line.
type Snippet interface {
Generate(buffer *Buffer) error
}
Snippet generates a single code snippet of a target source file code.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.