utils

package
v0.0.0-...-5fbf559 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Functions

func CheckIfError

func CheckIfError(err error)

CheckIfError should be used to naively panics if an error is not nil.

func ConsoleOutputf

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

ConsoleOutput should be used to output information to the console.

func Debugf

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

Debugf should be used to output debug information.

func Errorf

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

Errorf should be used to display an error.

func Infof

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

Infof should be used to describe the example commands that are about to run.

func Warningf

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

Warningf should be used to display a warning.

Types

This section is empty.

Jump to

Keyboard shortcuts

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