4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-27 21:39:22 +00:00

Add vendor (steam)

This commit is contained in:
Wim
2017-06-22 01:00:27 +02:00
parent 1f9874102a
commit 1f91461853
117 changed files with 115543 additions and 0 deletions

19
vendor/github.com/Philipp15b/go-steam/jsont/jsont.go generated vendored Normal file
View File

@ -0,0 +1,19 @@
// Includes helper types for working with JSON data
package jsont
import (
"encoding/json"
)
// A boolean value that can be unmarshaled from a number in JSON.
type UintBool bool
func (u *UintBool) UnmarshalJSON(data []byte) error {
var n uint
err := json.Unmarshal(data, &n)
if err != nil {
return err
}
*u = n != 0
return nil
}