diff --git a/misc.go b/misc.go index 1e0c96d..66eebd5 100644 --- a/misc.go +++ b/misc.go @@ -101,7 +101,7 @@ func SetMxjCast(b ...bool) { // HasTags is a convenience function that takes the result slice from MissingTags // or UnknownTags and returns "true, nil" if the dot-notation 'check' values are // in the slice. If one or more of the 'check' values are not in the 'result' slice -// the return value will be "false, []string" where the slice of string values are +// the return value will be "false, []string" where the slice of string values is // the 'check' values that are not in 'result'. func HasTags(result []string, check ...string) (bool, []string) { r := make(map[string]bool, len(result)) diff --git a/unknowntags.go b/unknowntags.go index cb52881..44111f7 100644 --- a/unknowntags.go +++ b/unknowntags.go @@ -313,7 +313,7 @@ func checkAllTags(mv interface{}, val reflect.Value, s *[]string, key string) er if tag[0] == "-" { tag = []string{""} } - // See if struct member is represents an attribute value. + // See if struct member is an attribute value. for _, v := range tags[1:] { if v == "attr" { attr = true