Documentation
¶
Overview ¶
Package mangle performs text manipulation
Index ¶
- Variables
- func Ellipsis(s string, max int) string
- func Expand(s string) string
- func Features(s string) []string
- func Locale(s string) string
- func LocaleProperty(s string) string
- func Normalize(s string) string
- func ShortLocale(s string) string
- func Shorten(s string) (string, bool)
- func Shortest(s string) string
- func SiteKind(title string, kind string, sid string) campwiz.SiteKind
- func Title(s string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ExtraWords are common words that can be thrown out for matching ExtraWords = map[string]bool{ "&": true, "(CA)": true, "AND": true, "AREA": true, "CAMP": true, "CAMPGROUND": true, "COUNTY": true, "DAY": true, "FOREST": true, "FS": true, "MONUMENT": true, "NATIONAL": true, "NATL": true, "PARK": true, "RECREATION": true, "REGIONAL": true, "STATE": true, "USE": true, "GROUP": true, "VILLAGE": true, "WALK-IN": true, "RESORT": true, "VISITOR": true, "LONG": true, "TERM": true, "RV": true, "SITES": true, "FAMILY": true, "SPA": true, "ON": true, "THE": true, "BAY": true, "BY": true, } )
Functions ¶
func LocaleProperty ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.