console

package
v1.18.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLineSize = 80

DefaultLineSize is the line size used in Title function.

Variables

This section is empty.

Functions

func DoubleLine

func DoubleLine(size int) string

DoubleLine returns a doubled line. Eg: ========.

func Line

func Line(size int) string

Line returns a single line. Eg: -------.

func Title

func Title(title string) string

Title returns a title with double line. Eg: ====== title ======.

Types

This section is empty.

Jump to

Keyboard shortcuts

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