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

Unified Diff: mojom/generators/go/templates/templates.go

Issue 2077113002: Handle interfaces with a ServiceName in the go bindings generator. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix names issue. Created 4 years, 6 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 | « mojom/generators/go/templates/interfaces_test.go ('k') | mojom/generators/go/translator/mojom_file.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojom/generators/go/templates/templates.go
diff --git a/mojom/generators/go/templates/templates.go b/mojom/generators/go/templates/templates.go
index 40973b3036264a40c1a8c397f9edab8855da9035..4d6a945331c77ffad8aa60844c7fcb401f98e089 100644
--- a/mojom/generators/go/templates/templates.go
+++ b/mojom/generators/go/templates/templates.go
@@ -67,5 +67,9 @@ import (
{{- range $enum := $fileTmpl.Enums}}
{{ template "Enum" $enum }}
{{- end}}
+
+{{- range $interface := $fileTmpl.Interfaces}}
+ {{ template "Interface" $interface }}
+{{- end}}
{{- end -}}
`
« no previous file with comments | « mojom/generators/go/templates/interfaces_test.go ('k') | mojom/generators/go/translator/mojom_file.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698