package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 29, 2020
License: BSD-3-Clause, MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Package ctfmt is a handful wrapping of go-colortext (ct) package and fmt package.
-
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)
func Print(cl ct.Color, bright bool, a ...interface{}) (n int, err error)
Print calls fmt.Print with foreground color set.
Printf calls fmt.Printf with foreground color set.
func Printfln(cl ct.Color, bright bool, format string, a ...interface{}) (n int, err error)
Printfln calls fmt.Printf and add an extra new-line char with foreground color set.
func Println(cl ct.Color, bright bool, a ...interface{}) (n int, err error)
Println calls fmt.Println with foreground color set.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.