Fix spelling and go vet errors

This commit is contained in:
Derek Perkins
2016-02-13 02:24:25 -07:00
committed by Anthony Fok
parent 0d415e453b
commit bac1ba4655
3 changed files with 4 additions and 6 deletions

View File

@@ -1209,7 +1209,7 @@ func trim(a interface{}, b string) (string, error) {
return strings.Trim(aStr, b), nil
}
// replace all occurences of b with c in a
// replace all occurrences of b with c in a
func replace(a, b, c interface{}) (string, error) {
aStr, err := cast.ToStringE(a)
if err != nil {