formatter

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorDefault = "\x1b[39m"

	ColorRed   = "\x1b[91m"
	ColorGreen = "\x1b[32m"
	ColorBlue  = "\x1b[94m"
	ColorGray  = "\x1b[90m"
)

Variables

This section is empty.

Functions

func Abbr

func Abbr(s string) (o string)

func Blue

func Blue(s string) string

func CurrentUser

func CurrentUser() string

func Decolorize

func Decolorize(s string) string

func DefaultPullRequestDescription

func DefaultPullRequestDescription() string

func Gray

func Gray(s string) string

func Green

func Green(s string) string

func PasswordQuestion

func PasswordQuestion(question string) (ans string)

func PromptQuestion

func PromptQuestion(question, def string) (ans string)

func Red

func Red(s string) string

func TemplateExecutor

func TemplateExecutor(configTemplate string, data interface{}) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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