Versions in this module Expand all Collapse all v1 v1.0.0 Feb 28, 2021 Changes in this version + var DictAmerican = []string + var DictBritish = []string + var DictMain = []string + func CaseVariations(word string, style WordCase) []string + func ReadTextFile(filename string) (string, error) + func RemoveEmail(s string) string + func RemoveHost(s string) string + func RemoveNotWords(s string) string + func RemovePath(s string) string + func StripURL(s string) string + type Diff struct + Column int + Corrected string + Filename string + FullLine string + Line int + Original string + type Replacer struct + Debug bool + Replacements []string + func New() *Replacer + func (r *Replacer) AddRuleList(additions []string) + func (r *Replacer) Compile() + func (r *Replacer) RemoveRule(ignore []string) + func (r *Replacer) Replace(input string) (string, []Diff) + func (r *Replacer) ReplaceReader(raw io.Reader, w io.Writer, next func(Diff)) error + type WordCase int + const AllLower + const AllUpper + const Camel + const Mixed + const Title + func CaseStyle(word string) WordCase