common

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFolder

func GetConfigFolder() (configFolder string, err error)

func GetOption

func GetOption(op []Option, key string) string

func Log added in v1.0.1

func Log(str string)

func NewSpinner

func NewSpinner() *spinner.Spinner

func PrintError

func PrintError(err error)

Types

type Option

type Option struct {
	Key   string
	Value string
}

func MakeOption

func MakeOption(key, value string) Option

Directories

Path Synopsis
ui

Jump to

Keyboard shortcuts

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