Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handle ¶
func Handle(err error, printer ErrPrettyPrinter)
Types ¶
type ErrPrettyPrinter ¶
type ErrPrettyPrinter interface {
PrettyPrint()
}
type GlamourErrPrettyPrinter ¶
type GlamourErrPrettyPrinter struct {
// contains filtered or unexported fields
}
func NewErrPrettyPrinter ¶
func NewErrPrettyPrinter(issue *Issue) *GlamourErrPrettyPrinter
func (*GlamourErrPrettyPrinter) PrettyPrint ¶
func (g *GlamourErrPrettyPrinter) PrettyPrint()
type Issue ¶
type Issue struct {
// contains filtered or unexported fields
}
func (*Issue) MarkdownMsg ¶
func (i *Issue) MarkdownMsg() MarkdownMsg
type MarkdownMsg ¶
type MarkdownMsg string
Click to show internal directories.
Click to hide internal directories.