total rewrite to interface handling; not complete but it compiles

This commit is contained in:
Ben Kraft
2020-07-16 13:28:43 -07:00
parent af4a765a32
commit cf7136ca65
33 changed files with 712 additions and 173 deletions
+4 -1
View File
@@ -1,9 +1,12 @@
package {{$.Config.Package}}
package {{.Config.Package}}
// Code generated by github.com/Khan/genql, DO NOT EDIT.
import (
"context"
{{- if .ImportJSON -}}
"encoding/json"
{{end}}
"github.com/Khan/genql/graphql"
)