Documentation ¶ Index ¶ func NewSequence(seq ...sgr.Command) string type Setting func NewSetting(pattern string, style Style) Setting func (s Setting) Apply(line string) string type Style func NewStyle(intro, outro string) Style func (s Style) Apply(line string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewSequence ¶ func NewSequence(seq ...sgr.Command) string Types ¶ type Setting ¶ type Setting struct { // contains filtered or unexported fields } func NewSetting ¶ func NewSetting(pattern string, style Style) Setting func (Setting) Apply ¶ func (s Setting) Apply(line string) string type Style ¶ type Style struct { // contains filtered or unexported fields } func NewStyle ¶ func NewStyle(intro, outro string) Style func (Style) Apply ¶ func (s Style) Apply(line string) string Source Files ¶ View all Source files styling.go Click to show internal directories. Click to hide internal directories.