util

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CfgFilepath = ".zzz/"
	CfgFilename = "config"
	CfgFileExt  = ".yaml"
)

Variables

View Source
var (
	Log *zlog.Logger

	Version        = "1.0.4"
	BuildTime      = ""
	BuildGoVersion = ""
)
View Source
var List = []string{}/* 1222 elements not displayed */

Functions

func CheckIfError added in v1.0.1

func CheckIfError(err error)

func DoSelfUpdate added in v1.0.3

func DoSelfUpdate(version string)

func ExecCommand

func ExecCommand(commandName string, arg ...string) (string, error)

func GetHome added in v1.0.3

func GetHome() string

func GetInstallPath

func GetInstallPath() string

func GetLineDujt

func GetLineDujt() string

func IsInstall

func IsInstall() (exist bool)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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