Documentation
¶
Index ¶
- Constants
- type Ctx
- func (ctx *Ctx) Copy(other *Ctx)
- func (ctx *Ctx) EmitPrefix(w io.Writer)
- func (ctx *Ctx) Enter()
- func (ctx *Ctx) EnterList()
- func (ctx *Ctx) Indent() string
- func (ctx *Ctx) Init()
- func (ctx *Ctx) Leave()
- func (ctx *Ctx) LeaveList()
- func (ctx *Ctx) NoList(cb func())
- func (ctx *Ctx) SetIsList()
- func (ctx *Ctx) UnsetIsList()
- func (ctx *Ctx) Wrap(cb func())
- func (ctx *Ctx) WrapList(cb func())
Constants ¶
View Source
const ( IndentToken string = " " ListSeparator byte = '-' EmptyPlaceHolderL string = "-----" EmptyPlaceHolderS string = "~" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctx ¶
type Ctx struct {
// contains filtered or unexported fields
}
func (*Ctx) EmitPrefix ¶
func (*Ctx) UnsetIsList ¶
func (ctx *Ctx) UnsetIsList()
Click to show internal directories.
Click to hide internal directories.