Documentation ¶
Index ¶
Constants ¶
View Source
const ( TableKey = "table" RawKey = "raw" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseSubjectContext ¶
type BaseSubjectContext struct {
// contains filtered or unexported fields
}
func (*BaseSubjectContext) AddHeader ¶
func (c *BaseSubjectContext) AddHeader(header string)
func (*BaseSubjectContext) FullHeader ¶
func (c *BaseSubjectContext) FullHeader() string
type Context ¶
type Context struct { Truncate bool Writer io.Writer Template string Quiet bool Buffer *bytes.Buffer // contains filtered or unexported fields }
func (*Context) ContextFormat ¶
func (c *Context) ContextFormat(tpl *template.Template, subject SubjectContext) error
func (*Context) FormFormat ¶
func (c *Context) FormFormat(tpl *template.Template, subject SubjectContext)
type SubjectContext ¶
Click to show internal directories.
Click to hide internal directories.