package
Version:
v0.0.0-...-eee4225
Opens a new window with list of versions in this module.
Published: Sep 3, 2019
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Error(msg interface{})
Error prints error messages to console and terminates program
func Info(msg interface{})
Info prints general messages to console
func Success(msg interface{})
Success prints success messages to console
func Warn(msg interface{})
Warn prints warning messages to console
Spinner is a wrapper for logging messages with a nice spinner
Error stops spinner and prints `✗` to console to indicate
failure of a task and terminates program.
func (s *Spinner) Info(msg interface{})
Info prints general messages to console and starts spinner
Success stops spinner and prints `✓` to console to indicate
completion of a task.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.