From 51062863a5c34d81e296cf15c61140911037cf3b Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 6 Aug 2018 21:47:05 +0200 Subject: Use mod vendor for vendored directory (backwards compatible) --- vendor/github.com/Philipp15b/go-steam/jsont/jsont.go | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 vendor/github.com/Philipp15b/go-steam/jsont/jsont.go (limited to 'vendor/github.com/Philipp15b/go-steam/jsont') diff --git a/vendor/github.com/Philipp15b/go-steam/jsont/jsont.go b/vendor/github.com/Philipp15b/go-steam/jsont/jsont.go deleted file mode 100644 index 0927f983..00000000 --- a/vendor/github.com/Philipp15b/go-steam/jsont/jsont.go +++ /dev/null @@ -1,19 +0,0 @@ -// 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 -} -- cgit v1.2.3