Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sidbusy committed Jul 13, 2016
1 parent d1d5747 commit 6da4dad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ func Bind(val interface{}) HandlerFunc {
obj := reflect.New(typ).Interface()
if c.Bind(obj) == nil {
c.Set(BindKey, obj)
} else {
c.Abort()
}
}
}
Expand Down

0 comments on commit 6da4dad

Please sign in to comment.