mescon

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: BSD-2-Clause Imports: 3 Imported by: 0

README

mescon

Build Status Coverage Status

constructor for console messages

Documentation

Index

Constants

View Source
const MaxWidth = 125

maximum message width

View Source
const SideSpaces = 3

padding on the sides of the message

Variables

This section is empty.

Functions

func GenAny

func GenAny(message string) (string, error)

generates lovely message with any amount of lines, and without fixed width

func GenMultiLineMessage

func GenMultiLineMessage(width int, message, customSeparator string) (string, error)

generates cosy message for multiple lines messages

func GenSingleLineMessage

func GenSingleLineMessage(width int, message string) (string, error)

generates cosy message only for one line message

Types

This section is empty.

Jump to

Keyboard shortcuts

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