console

package
v0.0.0-...-1107d98 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cols = getCols()

Number of columns detected from Stdin or 80 by default.

View Source
var NoColor = false

Flag enabled if `-no-color` option is used.

Functions

func Print

func Print(msg string)

Print string to the console with space padding so progress indicator might be overriden.

func Printf

func Printf(format string, a ...interface{})

Printf string to the console with space padding so progress indicator might be overriden.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳