conf

package
v0.0.0-...-4b959da Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagBlockName  = "block"
	FlagBlockUsage = "主动阻塞程序退出, 默认:不阻塞"
	FlagBlockValue = false
)
View Source
const (
	FlagCaseName                 = "case"
	FlagCaseUsage                = "示例编号, 默认:1000"
	FlagCaseValueC1000HelloWorld = 1000
	FlagCaseValueC1001OSENV      = 1001
	FlagCaseValueC1002OSExec     = 1002
)

Variables

View Source
var (
	FlagBlock bool
)
View Source
var FlagCase int
View Source
var FlagCaseUsageMap = map[int]string{
	FlagCaseValueC1000HelloWorld: "Hello World !",
	FlagCaseValueC1001OSENV:      "os env",
	FlagCaseValueC1002OSExec:     "os exec cmd",
}

Functions

func FlagCasePrintOptions

func FlagCasePrintOptions() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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