package ctfmt
import "github.com/daviddengcn/go-colortext/fmt"
Package ctfmt is a handful wrapping of go-colortext (ct) package and fmt package.
Index ¶
- func Print(cl ct.Color, bright bool, a ...interface{}) (n int, err error)
- func Printf(cl ct.Color, bright bool, format string, a ...interface{}) (n int, err error)
- func Printfln(cl ct.Color, bright bool, format string, a ...interface{}) (n int, err error)
- func Println(cl ct.Color, bright bool, a ...interface{}) (n int, err error)
Functions ¶
func Print ¶
Print calls fmt.Print with foreground color set.
func Printf ¶
Printf calls fmt.Printf with foreground color set.
func Printfln ¶
Printfln calls fmt.Printf and add an extra new-line char with foreground color set.
func Println ¶
Println calls fmt.Println with foreground color set.
Source Files ¶
- Version
- v1.0.0 (latest)
- Published
- Mar 29, 2020
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 2 months ago –
Tools for package owners.