Documentation
¶
Index ¶
- func CheckErr(e error)
- func CombineErrs(errs []error) error
- func RandomStr(chars string, length int) string
- func ReConvert(ptn string) string
- func StrIndex(vs []string, t string) int
- func StrSlice2DCopy(src [][]string) (cpy [][]string)
- func XMLStr(maxDepth int, maxElements int, seed []string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReConvert ¶
ReConvert does the pre-process of the regular expression literal. It does the following things: 1. Remove P before captured group names 2. Add parenthesises to the other parts of the log event string.
func StrSlice2DCopy ¶
StrSlice2DCopy is a simple helper function to make a deep copy of a 2-dimensional string slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.