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

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

Issue 2091493002: Switch to the new go generator in the mojo tree. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix more things. 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
Index: mojom/generators/go/templates/templates.go
diff --git a/mojom/generators/go/templates/templates.go b/mojom/generators/go/templates/templates.go
index 4eba4ea163b5214e7964d1047d44248761fa57e4..f0a799785b77fd7fb8ed61eda426cf8340cddfaf 100644
--- a/mojom/generators/go/templates/templates.go
+++ b/mojom/generators/go/templates/templates.go
@@ -68,7 +68,7 @@ import (
{{- end}}
{{- range $enum := $fileTmpl.Enums}}
- {{ template "Enum" $enum }}
+ {{ template "EnumDecl" $enum }}
{{- end}}
{{- range $interface := $fileTmpl.Interfaces}}

Powered by Google App Engine
This is Rietveld 408576698