ctfmt

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: BSD-3-Clause, MIT Imports: 2 Imported by: 4

Documentation

Overview

Package ctfmt is a handful wrapping of go-colortext (ct) package and fmt package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(cl ct.Color, bright bool, a ...interface{}) (n int, err error)

Print calls fmt.Print with foreground color set.

func Printf

func Printf(cl ct.Color, bright bool, format string, a ...interface{}) (n int, err error)

Printf calls fmt.Printf with foreground color set.

func Printfln

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

func Println(cl ct.Color, bright bool, a ...interface{}) (n int, err error)

Println calls fmt.Println with foreground color set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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