Decode: code cleanup for struct cache (#659)

This commit is contained in:
Thomas Pelletier
2021-11-07 18:35:30 -05:00
committed by GitHub
parent 11f789ef11
commit dc1740d473
4 changed files with 105 additions and 73 deletions
+1
View File
@@ -11,3 +11,4 @@ var textMarshalerType = reflect.TypeOf(new(encoding.TextMarshaler)).Elem()
var textUnmarshalerType = reflect.TypeOf(new(encoding.TextUnmarshaler)).Elem()
var mapStringInterfaceType = reflect.TypeOf(map[string]interface{}{})
var sliceInterfaceType = reflect.TypeOf([]interface{}{})
var stringType = reflect.TypeOf("")