Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: mojo/public/tools/bindings/generators/go_templates/source.tmpl

Issue 948343008: go/bindings: update code to pass structs versions tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/go/bindings/message.go ('k') | mojo/public/tools/bindings/generators/go_templates/struct.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/bindings/generators/go_templates/source.tmpl
diff --git a/mojo/public/tools/bindings/generators/go_templates/source.tmpl b/mojo/public/tools/bindings/generators/go_templates/source.tmpl
index b697cdf195b92cd05070de6bf761b698417a8e4b..820f1135febd5de2c12d76e51987b2058a6fadad 100644
--- a/mojo/public/tools/bindings/generators/go_templates/source.tmpl
+++ b/mojo/public/tools/bindings/generators/go_templates/source.tmpl
@@ -11,14 +11,11 @@
package {{package}}
import (
- "fmt"
{% for i in imports %}
{{i}}
{% endfor %}
)
-var _ = fmt.Errorf
-
{% import "enum.tmpl" as enum_macros %}
{% import "interface.tmpl" as interface_macros %}
{% import "struct.tmpl" as struct_macros %}
« no previous file with comments | « mojo/public/go/bindings/message.go ('k') | mojo/public/tools/bindings/generators/go_templates/struct.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698