package
Version:
v0.0.0-...-49f7de5
Opens a new window with list of versions in this module.
Published: Apr 29, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 6
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.