utils

package
v0.0.0-...-7e22817 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package utils Provides some tools about progress bar.

Source code and other details for the project are available at GitHub:

https://github.com/archervanderwaal/jadetrans

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultSpinnerAndStart

func NewDefaultSpinnerAndStart(prefix string) uint64

NewDefaultSpinnerAndStart are defined for create a spinner use default configuration, and start it.

func ParseArgs

func ParseArgs(osArgs []string) ([]string, []string)

ParseArgs are defined for parsing parameters, and returns values are the sentences or words and query parameters to be queried.

func StopSpinner

func StopSpinner(id uint64)

StopSpinner are defined for stop spinner according to id.

func UTCTimestamp

func UTCTimestamp() string

UTCTimestamp returns utc timestamp.

func UUID

func UUID() string

UUID returns uuid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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