make client an interface

This commit is contained in:
Ben Kraft
2021-03-25 14:08:12 -07:00
parent a9054e484f
commit 937540d244
17 changed files with 61 additions and 21 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ type QueryWithStructsUserAuthMethodsAuthMethod struct {
}
func QueryWithStructs(
client *graphql.Client,
client graphql.Client,
) (*QueryWithStructsResponse, error) {
var retval QueryWithStructsResponse
err := client.MakeRequest(