console

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 2 Imported by: 4

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