Documentation ¶
Index ¶
- Constants
- type MarkdownBuilder
- func (mb *MarkdownBuilder) AddBulletPoint(text string)
- func (mb *MarkdownBuilder) AddCodeSnippet(code, language string)
- func (mb *MarkdownBuilder) AddHeader(level int, text string)
- func (mb *MarkdownBuilder) AddNumberedPoint(number int, text string)
- func (mb *MarkdownBuilder) AddParagraph(text string)
- func (mb *MarkdownBuilder) Build() string
Constants ¶
View Source
const ( EmojiArrowRight = ":arrow_right:" EmojiWhiteCheckMark = ":white_check_mark:" EmojiCrossMark = ":x:" EmojiLink = ":link:" EmojiWarning = ":warning:" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarkdownBuilder ¶
type MarkdownBuilder struct {
// contains filtered or unexported fields
}
func NewMarkdownBuilder ¶
func NewMarkdownBuilder() *MarkdownBuilder
func (*MarkdownBuilder) AddBulletPoint ¶
func (mb *MarkdownBuilder) AddBulletPoint(text string)
func (*MarkdownBuilder) AddCodeSnippet ¶
func (mb *MarkdownBuilder) AddCodeSnippet(code, language string)
func (*MarkdownBuilder) AddHeader ¶
func (mb *MarkdownBuilder) AddHeader(level int, text string)
func (*MarkdownBuilder) AddNumberedPoint ¶
func (mb *MarkdownBuilder) AddNumberedPoint(number int, text string)
func (*MarkdownBuilder) AddParagraph ¶
func (mb *MarkdownBuilder) AddParagraph(text string)
func (*MarkdownBuilder) Build ¶
func (mb *MarkdownBuilder) Build() string
Click to show internal directories.
Click to hide internal directories.