Versions in this module Expand all Collapse all v1 v1.13.1 Mar 11, 2020 Changes in this version + func Inspect(out io.Writer, references []string, tmplStr string, getRef GetRefFunc) error + type GetRefFunc func(ref string) (interface{}, []byte, error) + type IndentedInspector struct + func (i *IndentedInspector) Flush() error + func (i *IndentedInspector) Inspect(typedElement interface{}, rawElement []byte) error + type Inspector interface + Flush func() error + Inspect func(typedElement interface{}, rawElement []byte) error + func NewIndentedInspector(outputStream io.Writer) Inspector + func NewTemplateInspector(outputStream io.Writer, tmpl *template.Template) Inspector + func NewTemplateInspectorFromString(out io.Writer, tmplStr string) (Inspector, error) + type TemplateInspector struct + func (i *TemplateInspector) Flush() error + func (i *TemplateInspector) Inspect(typedElement interface{}, rawElement []byte) error