Documentation ¶
Index ¶
- type Context
- type PrettyPrinter
- func (pp *PrettyPrinter) PrintPlaceholderJSON(body interface{}) (string, error)
- func (pp *PrettyPrinter) PrintTemplatedJSON(body interface{}) (string, error)
- func (pp *PrettyPrinter) RenderColumnName(cn string) string
- func (pp *PrettyPrinter) RenderTemplateVarAndDelimit(tv string) string
- func (pp *PrettyPrinter) RenderTemplateVarNoDelimit(tv string) string
- func (pp *PrettyPrinter) RenderTemplateVarPlaceholderKeyNoDelimit(tv string) string
- func (pp *PrettyPrinter) RenderTemplateVarPlaceholderNoDelimit(tv string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶ added in v0.5.375
type PrettyPrinter ¶
type PrettyPrinter struct {
// contains filtered or unexported fields
}
func NewPrettyPrinter ¶
func NewPrettyPrinter(ppCtx Context) *PrettyPrinter
func (*PrettyPrinter) PrintPlaceholderJSON ¶ added in v0.5.375
func (pp *PrettyPrinter) PrintPlaceholderJSON(body interface{}) (string, error)
func (*PrettyPrinter) PrintTemplatedJSON ¶
func (pp *PrettyPrinter) PrintTemplatedJSON(body interface{}) (string, error)
func (*PrettyPrinter) RenderColumnName ¶
func (pp *PrettyPrinter) RenderColumnName(cn string) string
func (*PrettyPrinter) RenderTemplateVarAndDelimit ¶
func (pp *PrettyPrinter) RenderTemplateVarAndDelimit(tv string) string
func (*PrettyPrinter) RenderTemplateVarNoDelimit ¶
func (pp *PrettyPrinter) RenderTemplateVarNoDelimit(tv string) string
func (*PrettyPrinter) RenderTemplateVarPlaceholderKeyNoDelimit ¶ added in v0.5.375
func (pp *PrettyPrinter) RenderTemplateVarPlaceholderKeyNoDelimit(tv string) string
func (*PrettyPrinter) RenderTemplateVarPlaceholderNoDelimit ¶ added in v0.5.375
func (pp *PrettyPrinter) RenderTemplateVarPlaceholderNoDelimit(tv string) string
Click to show internal directories.
Click to hide internal directories.