utils

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

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitCodeUnknow = iota
	ExitByOs
	ExitByLogging
	ExitCodeForceUpdate
)

for exit code

View Source
const (
	EmptyString = ""
)

Variables

View Source
var (
	EmptyStringArray  = []string{}   // DO NOT EDIT
	EmptyStringMatrix = [][]string{} // DO NOT EDIT
)

Functions

func GetEnv

func GetEnv(key, fallback string) string

GetEnv to get environment variable by key

Types

This section is empty.

Jump to

Keyboard shortcuts

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