Skip to content

Commit e9ea7b4

Browse files
committed
Fix comment formatting
1 parent ccff284 commit e9ea7b4

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

enumer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (i %[1]s) IsA%[1]s() bool {
4545
}
4646
`
4747

48-
// Arguments to format are:n[1]: type name
48+
// Arguments to format are: [1]: type name
4949
const stringBelongsMethodSet = `// IsA%[1]s returns "true" if the value is listed in the enum definition. "false" otherwise
5050
func (i %[1]s) IsA%[1]s() bool {
5151
_, ok := _%[1]sMap[i]

gqlgen.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package main
22

3-
// Arguments to format are:
4-
// [1]: type name
3+
// Arguments to format are: [1]: type name
54
const gqlgenMethods = `
65
// MarshalGQL implements the graphql.Marshaler interface for %[1]s
76
func (i %[1]s) MarshalGQL(w io.Writer) {

sql.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package main
22

3-
// Arguments to format are:
4-
// [1]: type name
3+
// Arguments to format are: [1]: type name
54
const valueMethod = `func (i %[1]s) Value() (driver.Value, error) {
65
return i.String(), nil
76
}

0 commit comments

Comments
 (0)