[go] Fix issue #51, change object mapping from *interface{} to map[string]interface (#60)

This commit is contained in:
ilk
2018-06-21 07:36:28 +02:00
committed by William Cheng
parent d19a2faf8e
commit 4664c07034
3 changed files with 4 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ public abstract class AbstractGoCodegen extends DefaultCodegen implements Codege
typeMapping.put("file", "*os.File");
typeMapping.put("binary", "*os.File");
typeMapping.put("ByteArray", "string");
typeMapping.put("object", "interface{}");
typeMapping.put("object", "map[string]interface{}");
importMapping = new HashMap<String, String>();