Skip to content

Commit

Permalink
shift gen ident to first line
Browse files Browse the repository at this point in the history
  • Loading branch information
tomarrell committed Sep 20, 2024
1 parent 571d881 commit 826813f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gen/output_template.tmpl
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// Code generated by avro/gen. DO NOT EDIT.
{{- if len .PackageDoc }}
// {{ .PackageDoc }}
{{- end }}
package {{ .PackageName }}

// Code generated by avro/gen. DO NOT EDIT.

{{- $encoders := .WithEncoders }}
{{ if len .Imports }}
import (
Expand Down Expand Up @@ -57,4 +56,4 @@ package {{ .PackageName }}
return avro.Marshal(o.Schema(), o)
}
{{- end }}
{{ end }}
{{ end }}

0 comments on commit 826813f

Please sign in to comment.