package test // Code generated by github.com/Khan/genql, DO NOT EDIT. import ( "github.com/Khan/genql/graphql" ) type QueryWithDoubleAliasResponse struct { User QueryWithDoubleAliasUser `json:"user"` } type QueryWithDoubleAliasUser struct { ID string AlsoID string } func QueryWithDoubleAlias( client *graphql.Client, ) (*QueryWithDoubleAliasResponse, error) { var retval QueryWithDoubleAliasResponse err := client.MakeRequest( nil, ` query QueryWithDoubleAlias { user { ID: id AlsoID: id } } `, &retval, nil, ) return &retval, err }