Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoTemplatePrinter ¶
type GoTemplatePrinter struct {
// contains filtered or unexported fields
}
func NewGoTemplatePrinter ¶
func NewGoTemplatePrinter(w io.Writer, goTemplateFileName string) (*GoTemplatePrinter, error)
func (*GoTemplatePrinter) Close ¶
func (p *GoTemplatePrinter) Close() error
func (*GoTemplatePrinter) Print ¶
func (p *GoTemplatePrinter) Print(v any) error
type JSONPrinter ¶
type JSONPrinter struct {
// contains filtered or unexported fields
}
func NewJSONPrinter ¶
func NewJSONPrinter(w io.Writer) *JSONPrinter
func (*JSONPrinter) Close ¶
func (p *JSONPrinter) Close() error
func (*JSONPrinter) Print ¶
func (p *JSONPrinter) Print(v any) error
type YAMLPrinter ¶
type YAMLPrinter struct {
// contains filtered or unexported fields
}
func NewYAMLPrinter ¶
func NewYAMLPrinter(w io.Writer) *YAMLPrinter
func (*YAMLPrinter) Close ¶
func (p *YAMLPrinter) Close() error
func (*YAMLPrinter) Print ¶
func (p *YAMLPrinter) Print(v any) error
Click to show internal directories.
Click to hide internal directories.