Switch to cupaloy for snapshots

Slightly uglier filenames, but less code and free diffing!  Approved in
ADR-466 for Khan use.  Fixes #23.
This commit is contained in:
Ben Kraft
2021-06-03 12:08:56 -07:00
parent 3c11f07e62
commit 1f442da041
63 changed files with 78 additions and 85 deletions
@@ -0,0 +1,33 @@
package test
// Code generated by github.com/Khan/genqlient, DO NOT EDIT.
import (
"github.com/Khan/genqlient/graphql"
)
// EmptyInterfaceResponse is returned by EmptyInterface on success.
type EmptyInterfaceResponse struct {
GetJunk interface{} `json:"getJunk"`
GetComplexJunk []map[string]*[]*map[string]interface{} `json:"getComplexJunk"`
}
func EmptyInterface(
client graphql.Client,
) (*EmptyInterfaceResponse, error) {
var retval EmptyInterfaceResponse
err := client.MakeRequest(
nil,
"EmptyInterface",
`
query EmptyInterface {
getJunk
getComplexJunk
}
`,
&retval,
nil,
)
return &retval, err
}