remove incorrect type mapping (#6693)

This commit is contained in:
William Cheng 2020-06-18 20:47:14 +08:00 committed by GitHub
parent b2ae0b18fe
commit ca3a23bfa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,6 @@ public abstract class AbstractGoCodegen extends DefaultCodegen implements Codege
// in golang as interface{}.
// See issue #5387 for more details.
typeMapping.put("object", "map[string]interface{}");
typeMapping.put("interface{}", "interface{}");
typeMapping.put("AnyType", "interface{}");
numberTypes = new HashSet<String>(