Documentation ¶
Index ¶
- func ExtractCommonPrefix(a string, b string) (prefix string, ax string, bx string)
- func FirstLower(str string) string
- func FirstUpper(str string) string
- func FormatPathChange(src string, dst string, quote bool) string
- func MatchWords(value string, wordsStr string) bool
- func NormalizeHost(host string) string
- func NormalizeName(str string) string
- func StripHtmlComments(str string) string
- func Truncate(str string, max int, suffix string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractCommonPrefix ¶
ExtractCommonPrefix from two strings. Returns prefix, first string without prefix and second string without prefix.
func FirstLower ¶
func FirstUpper ¶
func FormatPathChange ¶
FormatPathChange - example result "branch/config/{row -> row1}".
func MatchWords ¶
func NormalizeHost ¶
func NormalizeName ¶
func StripHtmlComments ¶
StripHtmlComments replaces HTML comments with empty lines.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.