Documentation
¶
Index ¶
- Constants
- func Error(msg string, args ...interface{})
- func GetBuildDate() string
- func Green(value string) string
- func Info(msg string, args ...interface{})
- func OpenInBrowser(url string) error
- func Red(value string) string
- func Success(msg string, args ...interface{})
- func Warning(msg string, args ...interface{})
- func Yellow(value string) string
Constants ¶
View Source
const (
CLI_BINARY_PATH = "bin/mock-my-commit"
)
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(msg string, args ...interface{})
Error is the function to handler all error in the Cli
func GetBuildDate ¶
func GetBuildDate() string
GetBuildDate is the function to get build stats of binary
func Info ¶
func Info(msg string, args ...interface{})
Info is the function to handler all info messages in the Cli
func OpenInBrowser ¶
OpenInBrowser attempts to open the specified URL in the default browser.
func Success ¶
func Success(msg string, args ...interface{})
Success is the fucntion to handler all the success in Cli
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.