Versions in this module Expand all Collapse all v1 v1.0.0 Mar 1, 2024 Changes in this version + const JSONSchemaVersion + func CloseAndLogError(closer io.Closer, location string) + func HasAnyOfPrefixes(input string, prefixes ...string) bool + func IsErrPath(err error) bool + func IsErrPathPermission(err error) bool + func IsPipedInput() (bool, error) + func IsTerminal() bool + func MatchNamedCaptureGroups(regEx *regexp.Regexp, content string) map[string]string + func NewBufferedSeeker(rc io.ReadCloser) io.ReadSeekCloser + func SplitAny(s string, seps string) []string + func StringInSlice(a string, list []string) bool + func Tprintf(tmpl string, data map[string]interface{}) string + func TruncateMiddleEllipsis(input string, maxLen int) string + type ErrPath struct + Context string + Err error + Path string + func (e ErrPath) Error() string + type StringSet map[string]struct + func NewStringSet(start ...string) StringSet + func (s StringSet) Add(i ...string) + func (s StringSet) Contains(i string) bool + func (s StringSet) Empty() bool + func (s StringSet) Equals(o StringSet) bool + func (s StringSet) Remove(i string) + func (s StringSet) ToSlice() []string