Documentation
¶
Index ¶
- func BoolValue(value interface{}) (bool, error)
- func ClampInt(value, minValue, maxValue int) int
- func CombineOutput(stdout string, stderr string) string
- func CountContentLines(content string) int
- func IntValue(value interface{}) (int, error)
- func StringValue(input map[string]interface{}, key string) string
- func TruncateOutput(output string, maxLines int) (string, bool, int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombineOutput ¶
CombineOutput 合并 stdout 和 stderr,优先返回 stdout
func StringValue ¶
StringValue 从 map 中获取字符串值并去除首尾空格
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.