File: builder.go

package info (click to toggle)
golang-github-muesli-mango 0.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 172 kB
  • sloc: makefile: 8
file content (21 lines) | stat: -rw-r--r-- 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package mango

import (
	"time"
)

// Builder is the interface of a man page builder.
type Builder interface {
	Heading(section uint, title, description string, ts time.Time)
	Paragraph()
	Indent(n int)
	IndentEnd()
	TaggedParagraph(indentation int)
	List(text string)
	Section(text string)
	EndSection()
	Text(text string)
	TextBold(text string)
	TextItalic(text string)
	String() string
}