ui

package
v0.0.0-...-2bbc2ee Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Emojis = map[string]string{
	":check_mark:": "\u2714",
	":red_x:":      "\u203C",
}

Functions

func Abort

func Abort(format string, args ...interface{})

func Debug

func Debug(format string, args ...interface{})

Debug - Allows you to put anything you want inside. String, struct, etc. We will print that to the console.

func DebugError

func DebugError(err error)

Debug - Allows you to put anything you want inside. String, struct, etc. We will print that to the console.

func Error

func Error(format string, args ...interface{})

Error show a message in red

func HandleError

func HandleError(err error)

HandleError pass in error and we will handle it.

func Message

func Message(format string, args ...interface{})

Message Show a neutral message in white

func ShouldNotHappen

func ShouldNotHappen(err error)

func Success

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

Message Show a success message in green

Types

This section is empty.

Jump to

Keyboard shortcuts

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