Picking some nits that my IDE complained about (#91)
* Picking some nits that my IDE complained about Signed-off-by: Steve Coffman <[email protected]> * Update graphql/util.go Co-authored-by: Ben Kraft <[email protected]> * revert to original for comment Signed-off-by: Steve Coffman <[email protected]> Co-authored-by: Ben Kraft <[email protected]>
This commit is contained in:
co-authored by
Ben Kraft
parent
639b46df32
commit
673840e495
+1
-1
@@ -245,7 +245,7 @@ func (typ *goInterfaceType) WriteDefinition(w io.Writer, g *generator) error {
|
||||
"Get%s is a part of, and documented with, the interface %s.",
|
||||
sharedField.GoName, typ.GoName)
|
||||
writeDescription(w, description)
|
||||
// In principle we should find the corresponding field of the
|
||||
// In principle, we should find the corresponding field of the
|
||||
// implementation and use its name in `v.<name>`. In practice,
|
||||
// they're always the same.
|
||||
fmt.Fprintf(w, "func (v *%s) Get%s() %s { return v.%s }\n",
|
||||
|
||||
Reference in New Issue
Block a user