Passing unmarshal of array table into interfaces

This commit is contained in:
Thomas Pelletier
2021-03-18 08:47:50 -04:00
parent 939f889666
commit cb678e6221
4 changed files with 70 additions and 45 deletions
+2 -2
View File
@@ -439,12 +439,12 @@ B = "data"`,
"Products": []interface{}{
map[string]interface{}{
"Name": "Hammer",
"Sku": 738594937,
"Sku": int64(738594937),
},
nil,
map[string]interface{}{
"Name": "Nail",
"Sku": 284758393,
"Sku": int64(284758393),
"Color": "gray",
},
},