print

package
v0.0.0-...-40147a1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package print provides methods to pretty printing data into the console

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(err error, exitCode int)

Error shows the error and exit the program with provided exit code

func ShowError

func ShowError(err error)

ShowError shows the error

func Spin

func Spin(progress chan *spider.Progress) (exitCode int)

Spin shows the spinner with additional message and returns the exitCode if error occuried

Types

This section is empty.

Directories

Path Synopsis
Package spinner creates a spinner
Package spinner creates a spinner

Jump to

Keyboard shortcuts

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