Update Kubernetes to 14b32888de6403aa38aedc69086c5a3aff7a4ace

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2017-09-20 01:31:26 +00:00
parent 3647ff5976
commit 5af5a04b6f
108 changed files with 13708 additions and 132253 deletions

View File

@@ -0,0 +1,15 @@
package jsoniter
import "encoding/json"
type Number string
func CastJsonNumber(val interface{}) (string, bool) {
switch typedVal := val.(type) {
case json.Number:
return string(typedVal), true
case Number:
return string(typedVal), true
}
return "", false
}