Documentation ¶
Index ¶
- type Doc
- func (d *Doc) AddBlockquote(quote string)
- func (d *Doc) AddChartLineXsYs(xs, ys []float64, w, h int)
- func (d *Doc) AddCode(code, lang string)
- func (d *Doc) AddDetailImgFromURI(url string, width int, title, titleColor, description string)
- func (d *Doc) AddImgFromURI(url string, width int)
- func (d *Doc) AddParagraph(par string)
- func (d *Doc) AddPre(content string)
- func (d *Doc) AddSection(title string)
- func (d *Doc) AddSubsection(title string)
- func (d *Doc) AddTable(thead []string, tbody [][]string)
- func (d *Doc) AddTitle(title string)
- func (d *Doc) SaveTo(fname string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Doc ¶
type Doc struct {
// contains filtered or unexported fields
}
func NewBlankDoc ¶
func NewBlankDoc() *Doc
func (*Doc) AddBlockquote ¶
func (*Doc) AddChartLineXsYs ¶
func (*Doc) AddDetailImgFromURI ¶
func (*Doc) AddImgFromURI ¶
func (*Doc) AddParagraph ¶
func (*Doc) AddSection ¶
func (*Doc) AddSubsection ¶
Click to show internal directories.
Click to hide internal directories.