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
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user