package
1.2.0-alpha.4
Repository: https://github.com/ericchiang/kubernetes.git
Documentation: pkg.go.dev
# Functions
NewContext generates a context from the given builder, naming systems, and the naming system you wish to construct the canonical ordering from.
NewErrorTracker makes a new error tracker; note that it implements io.Writer.
No description provided by the author
w is the destination; left and right are the delimiters; @ and $ are both reasonable choices.
# Structs
Context is global context for individual generators to consume.
DefaultGen implements a do-nothing Generator.
DefaultPackage contains a default implentation of Package.
ErrorTracker tracks errors to the underlying writer, so that you can ignore them until you're ready to return.
ImportTracker may be passed to a namer.RawNamer, to track the imports needed for the types it names.
SnippetWriter is an attempt to make the template library usable.
# Type aliases
Packages is a list of packages to generate.