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 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 ¶
func CleanUrlPath ¶
func CompareNumInFilename ¶
func EscapeControllingRune ¶
func ExtractHostnamePort ¶
func ExtractListenPort ¶
func FormatTimeSecond ¶
func GetBoolEnv ¶
func HasFsPrefixDir ¶
func HasUrlPrefixDir ¶
func HasUrlPrefixDirNoCase ¶
func IsStrEqualAccurate ¶
func IsStrEqualNoCase ¶
func NormalizeFsPath ¶
func SplitFilename ¶
func WildcardToRegexp ¶
Types ¶
type StrEqualFunc ¶
Click to show internal directories.
Click to hide internal directories.