Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
A pretty.Encoder is a TokenSink that emits pretty-printed stuff.
The default behavior is color coded with ANSI escape sequences, so it's snazzy looking on your terminal.
func NewEncoder ¶
Click to show internal directories.
Click to hide internal directories.