Documentation ¶
Index ¶
- Constants
- func CapsuleVersion() string
- func CreateMapFromSlice(strSlice []string, separator string) map[string]string
- func CreateSliceFromMap(strMap map[string]string) []string
- func CreateSliceFromString(str string, separator string) []string
- func CreateStringError(message string, code int) string
- func CreateStringFromSlice(strSlice []string, separator string) string
- func GetEnv(key, fallback string) string
- func GetErrorStringInfo(str string) (string, int)
- func GetExitCode() int
- func GetExitError() string
- func IsErrorString(str string) bool
- func SetExitCode(code int)
- func SetExitError(errMsg string)
Constants ¶
View Source
const FieldSeparator = ":"
View Source
const StrHeadersSeparator = string(rune(179))
View Source
const StrSeparator = string(rune(178))
Variables ¶
This section is empty.
Functions ¶
func CapsuleVersion ¶
func CapsuleVersion() string
func CreateMapFromSlice ¶
func CreateSliceFromMap ¶
func CreateSliceFromString ¶
func CreateStringError ¶
CreateStringError : to not display an error code at the end of the error message, code == 0
func CreateStringFromSlice ¶
func GetErrorStringInfo ¶
func GetExitCode ¶
func GetExitCode() int
func GetExitError ¶
func GetExitError() string
func IsErrorString ¶
func SetExitCode ¶
func SetExitCode(code int)
func SetExitError ¶
func SetExitError(errMsg string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.