Documentation ¶
Index ¶
- func AsciiToLowerCase(input string) string
- func ByteToHex(b byte) (high, low byte)
- func CleanUrlPath(urlPath string) string
- func CompareNumInFilename(prev, next []byte) (less, ok bool)
- func Contains(collection []string, find string) bool
- func EscapeControllingRune(str string) []byte
- func ExtractHostnamePort(host string) (hostname, port string)
- func ExtractListenPort(listen string) string
- func FormatTimeSecond(t time.Time) string
- func GetBoolEnv(key string) bool
- func GetContentType(filename string, rd io.Reader) (string, error)
- func GetTTYFile() (file *os.File, teardown func() error)
- func HasFsPrefixDir(fsPath, prefix string) bool
- func HasUrlPrefixDir(urlPath, prefix string) bool
- func HasUrlPrefixDirNoCase(urlPath, prefix string) bool
- func IsDigits(input string) bool
- func IsStrEqualAccurate(a, b string) bool
- func IsStrEqualNoCase(a, b string) bool
- func NormalizeFsPath(input string) (string, error)
- func SplitFilename(filename string) (prefix, suffix string)
- func WildcardToRegexp(wildcard string) string
- type StrEqualFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsciiToLowerCase ¶ added in v1.4.2
func CleanUrlPath ¶
func CompareNumInFilename ¶ added in v1.8.0
func EscapeControllingRune ¶ added in v1.13.7
func ExtractHostnamePort ¶ added in v1.9.0
func ExtractListenPort ¶ added in v1.9.0
func FormatTimeSecond ¶
func GetBoolEnv ¶ added in v1.13.0
func GetContentType ¶ added in v1.11.0
func GetTTYFile ¶ added in v1.13.0
func HasFsPrefixDir ¶
func HasUrlPrefixDir ¶
func HasUrlPrefixDirNoCase ¶ added in v1.12.0
func IsStrEqualAccurate ¶ added in v1.13.0
func IsStrEqualNoCase ¶ added in v1.13.0
func NormalizeFsPath ¶ added in v1.4.2
func SplitFilename ¶
func WildcardToRegexp ¶
Types ¶
type StrEqualFunc ¶ added in v1.13.0
Click to show internal directories.
Click to hide internal directories.