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:
Steve Coffman
2021-09-14 13:42:47 -04:00
committed by GitHub
co-authored by Ben Kraft
parent 639b46df32
commit 673840e495
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/vektah/gqlparser/v2/gqlerror"
)
// Client is the interface that the generate code calls into to actually make
// Client is the interface that the generated code calls into to actually make
// requests.
//
// Unstable: This interface is likely to change before v1.0, see #19.
+1 -1
View File
@@ -6,7 +6,7 @@ package graphql
// NoUnmarshalJSON is intended for the use of genqlient's generated code only.
//
// It is used to prevent a struct type from inheriting its embed's
// UnmarshalJSON method: given a type
// UnmarshalJSON method, so if we construct a type:
// type T struct { E; NoUnmarshalJSON }
// where E has an UnmarshalJSON method, T will not inherit it, per the Go
// selector rules: https://golang.org/ref/spec#Selectors.