Index: mojo/public/tools/bindings/generators/go_templates/struct.tmpl |
diff --git a/mojo/public/tools/bindings/generators/go_templates/struct.tmpl b/mojo/public/tools/bindings/generators/go_templates/struct.tmpl |
index f36d75285a6315311ad7f4498b957014ca0fda78..09072137ffc63e21a627ee33a02d503e03da6538 100644 |
--- a/mojo/public/tools/bindings/generators/go_templates/struct.tmpl |
+++ b/mojo/public/tools/bindings/generators/go_templates/struct.tmpl |
@@ -3,7 +3,6 @@ |
// found in the LICENSE file. |
{% import "encoding_macros.tmpl" as encoding_macros %} |
-{% import "mojom_type_macros.tmpl" as mojom_type_macros %} |
{% macro define(struct, typepkg, package, exported=True) %} |
type {{struct|name(exported)}} struct { |
@@ -64,6 +63,4 @@ func (s *{{struct|name(exported)}}) Decode(decoder *bindings.Decoder) error { |
return nil |
} |
-{{ mojom_type_macros.writeMojomTypeDef(typepkg, struct, package, exported) }} |
- |
{% endmacro %} |