Skip to content

Commit 6bdd510

Browse files
committed
Fix linter issues
1 parent 5ef776f commit 6bdd510

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codegen/testing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func SectionsCode(t *testing.T, sections []*SectionTemplate) string {
4242
}
4343

4444
// SectionCodeFromImportsAndMethods generates and formats the code for given import and method definition sections.
45-
func SectionCodeFromImportsAndMethods(t *testing.T, importSection *SectionTemplate, methodSection *SectionTemplate) string {
45+
func SectionCodeFromImportsAndMethods(t *testing.T, importSection, methodSection *SectionTemplate) string {
4646
t.Helper()
4747
var code bytes.Buffer
4848
require.NoError(t, importSection.Write(&code))

expr/result_types_root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type (
1010
ResultTypesRoot []*ResultTypeExpr
1111
)
1212

13-
// GeneratedResulTypes records the generated result types and is a DSL
13+
// GeneratedResultTypes records the generated result types and is a DSL
1414
// root evaluated after Root.
1515
var GeneratedResultTypes = new(ResultTypesRoot)
1616

0 commit comments

Comments
 (0)