File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 go-generate :
1414 permissions :
15- # Allow job to write to the branch.
15+ # Allow the job to write to the branch.
1616 contents : write
1717 runs-on : ubuntu-latest
1818 steps :
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ linters-settings:
3939
4040issues :
4141 include :
42- # If you're going to write a comment follow the conventions.
42+ # If you're going to write a comment, follow the conventions.
4343 # https://go.dev/doc/effective_go#commentary.
4444 # comment on exported (.+) should be of the form "(.+)..."
4545 - EXC0014
Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ func main() {
6161 b := codegen .New (model )
6262
6363 err = b .BuildCode (o , func (name , inherits spec.TypeName ) bool {
64- // This is what selects the types to include in generated file.
64+ // This is what selects the types to include in the generated file.
65+
6566 // Any dependencies of these types will be included automatically.
6667 return name .Namespace == "ingest._types" && name .Name == "Pipeline" || inherits .Name == "ProcessorBase"
6768 })
You can’t perform that action at this time.
0 commit comments