intermediate

package
v0.5.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Sentinel      = '$'
	Bold          = 'b'
	Italic        = 'i'
	Underline     = 'u'
	Strikethrough = 's'
	Reset         = 'r'
	Colour        = 'c'
)

All of the formats specified above are available here. It is expected that implementations use this wherever possible to allow for changes

View Source
const (
	SentinelString      = string(Sentinel)
	BoldString          = string(Bold)
	ItalicString        = string(Italic)
	UnderlineString     = string(Underline)
	StrikethroughString = string(Strikethrough)
	ResetString         = string(Reset)
	ColourString        = string(Colour)
)

String representations of intermediate runes

View Source
const (
	SSentinelString      = SentinelString + SentinelString
	SBoldString          = SentinelString + BoldString
	SItalicString        = SentinelString + ItalicString
	SUnderlineString     = SentinelString + UnderlineString
	SStrikethroughString = SentinelString + StrikethroughString
	SResetString         = SentinelString + ResetString
	SColourString        = SentinelString + ColourString
)

String representations of intermediate runes with a prefixed sentinel

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL