Documentation ¶
Index ¶
- func FileHasPrefix(s, prefix string) bool
- func FileHasSuffix(s, suffix string) bool
- func FileStringEquals(s1, s2 string) bool
- func FileTrimPrefix(s, prefix string) string
- func FileTrimSuffix(s, suffix string) string
- func GoEnv(name, line string) (value string, ok bool)
- func ParseGoEnvLine(line string) (key, value string, ok bool)
- func SlashToFilepath(path string) string
- func SlashToImportPath(path string) string
- func TrimCommonSuffix(base, suffix string) (string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileHasPrefix ¶
func FileHasSuffix ¶
func FileStringEquals ¶
func FileTrimPrefix ¶
func FileTrimSuffix ¶
func ParseGoEnvLine ¶
ParseGoEnvLine parses a "go env" line into a key value pair.
func SlashToFilepath ¶
func SlashToImportPath ¶
func TrimCommonSuffix ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.