param

package
v1.9.87 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsInt

func AsInt(sKey string, def int) int

AsInt #

func CheckVersion added in v1.9.4

func CheckVersion() bool

CheckVersion #

func Count added in v1.9.41

func Count() int

Count #

func Debug

func Debug() int

Debug #

func Exist

func Exist(sKey string) (string, bool)

Exist #

func Exists

func Exists(sKeys []string) bool

Exists #

func GetEnv

func GetEnv(key, defval string) string

GetEnv #

func InitParams added in v1.9.65

func InitParams(args []string)

func KeyExist

func KeyExist(sKey string) bool

KeyExist #

func Param

func Param(ix int, def string) string

Param #

func Print

func Print()

Print #

func PrintParams added in v1.9.37

func PrintParams() string

PrintParams #

func Set

func Set(sKey string, def string)

Set #

func ToUpdate added in v1.9.63

func ToUpdate() bool

ToUpdate #

func Value

func Value(sKey string, def string) string

Value #

func ValueCheck

func ValueCheck(sKey string, def string)

ValueCheck #

func ValueExist

func ValueExist(sKey string) (string, bool)

ValueExist #

func Xargs added in v1.9.0

func Xargs() map[string]string

Xargs #

Types

This section is empty.

Jump to

Keyboard shortcuts

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