Vendor update

This commit is contained in:
Morgan Bazalgette
2017-07-25 14:58:07 +02:00
parent 8ebe5f6a02
commit e5f062ee91
23 changed files with 382 additions and 228 deletions

View File

@@ -9,7 +9,7 @@ type OsuBool bool
// UnmarshalJSON converts `"0"` to false and `"1"` to true.
func (o *OsuBool) UnmarshalJSON(data []byte) error {
if string(data) == `"0"` {
if string(data) == `0` {
*o = false
return nil
}