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

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

Issue 954643002: Update mojo sdk to rev 3d23dae011859a2aae49f1d1adde705c8e85d819 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use run_renderer_in_process() 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: 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..d691cde9ee0593d78bfae001288e64dbca76ca22 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
@@ -12,13 +12,13 @@ package {{package}}
import (
"fmt"
-
- "mojo/public/go/bindings"
"mojo/public/go/system"
+{% for i in imports %}
+ {{i}}
+{% endfor %}
)
var _ = fmt.Errorf
-var _ = bindings.NewEncoder
var _ = system.GetCore
{% import "enum.tmpl" as enum_macros %}

Powered by Google App Engine
This is Rietveld 408576698