console

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CODE_SUCCESS color.Attribute = color.FgGreen
	CODE_WARNING color.Attribute = color.FgYellow
	CODE_INFO    color.Attribute = color.FgBlue
	CODE_ERROR   color.Attribute = color.FgRed
)

Variables

This section is empty.

Functions

func Println

func Println(code Attribute, msg string)

func Sprint

func Sprint(code Attribute, a ...interface{}) string

func Sprintf

func Sprintf(code Attribute, format string, a ...interface{}) string

Types

type Attribute

type Attribute interface{}

Jump to

Keyboard shortcuts

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