utility

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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 Green

func Green(value string) string

Green is the function to convert str to green in console

func Info

func Info(msg string, args ...interface{})

Info is the function to handler all info messages in the Cli

func OpenInBrowser

func OpenInBrowser(url string) error

OpenInBrowser attempts to open the specified URL in the default browser.

func Red

func Red(value string) string

Red is the function to convert str to red in console

func Success

func Success(msg string, args ...interface{})

Success is the fucntion to handler all the success in Cli

func Warning

func Warning(msg string, args ...interface{})

Warning is the function to handler all warnings in the Cli

func Yellow

func Yellow(value string) string

Yellow is the function to convert str to yellow in console

Types

This section is empty.

Jump to

Keyboard shortcuts

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