| 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 3769585193e74b681877d8623ab36007ee3b87e0..8c58c4cf355892df70f861d18cecf9521174b0cd 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
|
| @@ -9,33 +9,3 @@
|
| //
|
|
|
| package {{package}}
|
| -
|
| -import (
|
| - "fmt"
|
| -
|
| - "mojo/public/go/bindings"
|
| - "mojo/public/go/system"
|
| -)
|
| -
|
| -var _ = fmt.Errorf
|
| -var _ = bindings.NewEncoder
|
| -var _ = system.GetCore
|
| -
|
| -{% import "enum.tmpl" as enum_macros %}
|
| -{% import "interface.tmpl" as interface_macros %}
|
| -{% import "struct.tmpl" as struct_macros %}
|
| -
|
| -{#- Enum definitions #}
|
| -{% for enum in enums %}
|
| -{{enum_macros.define(enum)}}
|
| -{%- endfor %}
|
| -
|
| -{#- Interface definitions #}
|
| -{% for interface in interfaces %}
|
| -{{interface_macros.define(interface)}}
|
| -{%- endfor %}
|
| -
|
| -{#- Struct definitions #}
|
| -{% for struct in structs %}
|
| -{{struct_macros.define(struct)}}
|
| -{%- endfor %}
|
|
|