Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
dancannon committed Mar 15, 2016
1 parent b4ec342 commit a23dcf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions encoding/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var (
Tags = false
Tags []string
)

const (
Expand All @@ -28,7 +28,7 @@ func getTag(sf reflect.StructField) string {
}

for _, tagName := range Tags {
if tag := sf.Tag.Get(TagName); tag != "" {
if tag := sf.Tag.Get(tagName); tag != "" {
return tag
}
}
Expand Down

0 comments on commit a23dcf6

Please sign in to comment.