Index: third_party/mojo/src/mojo/public/tools/bindings/generators/go_templates/source.tmpl |
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/go_templates/source.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/go_templates/source.tmpl |
index e864d67ca8b3e220e173691ce6df5f71a56d66fe..820f1135febd5de2c12d76e51987b2058a6fadad 100644 |
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/go_templates/source.tmpl |
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/go_templates/source.tmpl |
@@ -19,7 +19,6 @@ import ( |
{% import "enum.tmpl" as enum_macros %} |
{% import "interface.tmpl" as interface_macros %} |
{% import "struct.tmpl" as struct_macros %} |
-{% import "union.tmpl" as union_macros %} |
{#- Enum definitions #} |
{% for enum in enums %} |
@@ -35,8 +34,3 @@ import ( |
{% for struct in structs %} |
{{struct_macros.define(struct)}} |
{%- endfor %} |
- |
-{#- Union definitions #} |
-{% for union in unions %} |
-{{union_macros.define(union)}} |
-{%- endfor %} |