Documentation ¶
Index ¶
- Constants
- func BGetContent(path string) []byte
- func Expand(path string) string
- func Home() string
- func Print(msg string)
- func PrintError(err error)
- func PrintErrorExit(err error)
- func PrintErrorExitCode(err error, code int)
- func PrintExclaim(msg string)
- func PrintExclaimf(format string, a ...interface{})
- func PrintFatal(msg string)
- func PrintPrompt(msg string)
- func PrintStartBanner()
- func Printf(format string, a ...interface{})
- func RecoverableError(msg string)
- func RecoverableErrorf(msg string, a ...interface{})
- func SGetContent(path string) string
- func SPutContent(data, path string) error
Constants ¶
View Source
const Version = "1.2.0"
Variables ¶
This section is empty.
Functions ¶
func BGetContent ¶
func PrintError ¶
func PrintError(err error)
func PrintErrorExit ¶
func PrintErrorExit(err error)
func PrintErrorExitCode ¶
func PrintExclaim ¶
func PrintExclaim(msg string)
func PrintExclaimf ¶
func PrintExclaimf(format string, a ...interface{})
func PrintFatal ¶
func PrintFatal(msg string)
func PrintPrompt ¶
func PrintPrompt(msg string)
func PrintStartBanner ¶
func PrintStartBanner()
func RecoverableError ¶
func RecoverableError(msg string)
func RecoverableErrorf ¶
func RecoverableErrorf(msg string, a ...interface{})
func SGetContent ¶
func SPutContent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.