Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MaxOutputWidth is the number of spaces to use on a console
MaxOutputWidth = 72
)
Variables ¶
This section is empty.
Functions ¶
func ExitWithCode ¶ added in v1.3.0
func ExitWithCode(code string)
ExitWithCode exits the current process with specified exit code provided as string
func LongestString ¶ added in v1.4.0
LongestString return longest string from array
Types ¶
type OneBuildColor ¶ added in v1.4.0
type OneBuildColor int
OneBuildColor represents type for color enum
const ( // CYAN is 1build's default color standard CYAN OneBuildColor = 0 // RED is used in failure messages RED OneBuildColor = 1 )
type Style ¶ added in v1.5.0
type Style struct { Color OneBuildColor Bold bool }
Style represents type for text formatting
Click to show internal directories.
Click to hide internal directories.