Documentation ¶
Index ¶
- func CheckStringKey(m map[string]any, key string) error
- func ContainsTag(tags []string, tag string) bool
- func EscapeDots(source string) string
- func GetStringKey(m map[string]any, key string) (string, error)
- func IsBase64Encoded(base64Val string) bool
- func NewTemplate(name string) *template.Template
- func RandAlphanum(n int) string
- func ReadLongLine(r *bufio.Reader) (line []byte, err error)
- func RemoveDuplicates(s []string) []string
- func RoundDuration(duration time.Duration, to ...time.Duration) time.Duration
- func SanitizeName(path string) string
- func UnescapeDots(source string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsTag ¶
func EscapeDots ¶ added in v1.12.12
EscapeDots escapes dots for MongoDB fields
func GetStringKey ¶ added in v1.9.23
func IsBase64Encoded ¶ added in v1.16.11
IsBase64Encoded check if string is base84 encoded
func NewTemplate ¶ added in v1.15.0
func RandAlphanum ¶ added in v1.6.11
func ReadLongLine ¶ added in v1.5.39
ReadLongLine reads long line
func RemoveDuplicates ¶ added in v0.7.16
func RoundDuration ¶ added in v1.4.8
RoundDuration rounds duration to default value if no round passed
func SanitizeName ¶ added in v1.10.32
SanitizeName sanitizes test name
func UnescapeDots ¶ added in v1.12.12
UnescapeDots unescapes dots from MongoDB fields
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.