Documentation
¶
Index ¶
- func JSON(data interface{}) error
- func Markdown(text string) (string, error)
- func MarkdownWithWrap(text string, wrap int) (string, error)
- func PrettyJSON(data interface{}) error
- func Progress(max int, description string) *progressbar.ProgressBar
- func Table(target io.Writer, rows [][]string)
- func Text(data interface{}, format string) (err error)
- func YAML(data interface{}) error
- type Indicator
- type RenderOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrettyJSON ¶
func PrettyJSON(data interface{}) error
PrettyJSON prints the data as pretty JSON.
func Progress ¶
func Progress(max int, description string) *progressbar.ProgressBar
Types ¶
type RenderOpts ¶
type RenderOpts []glamour.TermRendererOption
Click to show internal directories.
Click to hide internal directories.