File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func (i %[1]s) IsA%[1]s() bool {
45
45
}
46
46
`
47
47
48
- // Arguments to format are:n [1]: type name
48
+ // Arguments to format are: [1]: type name
49
49
const stringBelongsMethodSet = `// IsA%[1]s returns "true" if the value is listed in the enum definition. "false" otherwise
50
50
func (i %[1]s) IsA%[1]s() bool {
51
51
_, ok := _%[1]sMap[i]
Original file line number Diff line number Diff line change 1
1
package main
2
2
3
- // Arguments to format are:
4
- // [1]: type name
3
+ // Arguments to format are: [1]: type name
5
4
const gqlgenMethods = `
6
5
// MarshalGQL implements the graphql.Marshaler interface for %[1]s
7
6
func (i %[1]s) MarshalGQL(w io.Writer) {
Original file line number Diff line number Diff line change 1
1
package main
2
2
3
- // Arguments to format are:
4
- // [1]: type name
3
+ // Arguments to format are: [1]: type name
5
4
const valueMethod = `func (i %[1]s) Value() (driver.Value, error) {
6
5
return i.String(), nil
7
6
}
You can’t perform that action at this time.
0 commit comments