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

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: a small fix 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
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 d691cde9ee0593d78bfae001288e64dbca76ca22..83a4b2ce4780a1fa286771980d5bb14d0f689ee7 100644
--- a/mojo/public/tools/bindings/generators/go_templates/source.tmpl
+++ b/mojo/public/tools/bindings/generators/go_templates/source.tmpl
@@ -11,14 +11,12 @@
package {{package}}
import (
- "fmt"
"mojo/public/go/system"
{% for i in imports %}
{{i}}
{% endfor %}
)
-var _ = fmt.Errorf
var _ = system.GetCore
{% import "enum.tmpl" as enum_macros %}

Powered by Google App Engine
This is Rietveld 408576698