Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Banning committed Feb 22, 2017
1 parent 1634caf commit 42bf233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion unknowntags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42bf233

Please sign in to comment.