util

package
v1.0.39 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 19 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.39"
	BuildTime      = ""
	BuildGoVersion = ""
)
View Source
var List = []string{}/* 1222 elements not displayed */

Functions

func CheckIfError added in v1.0.1

func CheckIfError(err error)

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)

func MinifyHandle added in v1.0.22

func MinifyHandle(c *znet.Context)

func OSCommand added in v1.0.24

func OSCommand(command string) string

func SetLimit added in v1.0.26

func SetLimit(l uint64)

func VersionCompare added in v1.0.15

func VersionCompare(version1, version2, operator string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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