Documentation ¶
Index ¶
- func BoolToFloat(b bool) float64
- func CountLines(text string) int
- func ExtractLastLine(text string) string
- func ExtractLeadingInteger(line string, logger log.Logger) int64
- func ExtractTrailingValueAfterColon(line string, logger log.Logger) int64
- func FirstElement(line string) string
- func SanitizeString(str string) string
- func StrToInt(str string) (int64, error)
- func StrToIntOrDefault(logger log.Logger, str string, defaultValue int64) int64
- func ToBoolean(c byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToFloat ¶
func CountLines ¶
func ExtractLastLine ¶
func FirstElement ¶
func SanitizeString ¶
func StrToIntOrDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.