github.com/codykaup/genqlient@v0.6.2/generate/testdata/snapshots/TestGenerate-ListOfListsOfLists.graphql-ListOfListsOfLists.graphql.go (about)

     1  // Code generated by github.com/codykaup/genqlient, DO NOT EDIT.
     2  
     3  package test
     4  
     5  import (
     6  	"github.com/codykaup/genqlient/graphql"
     7  )
     8  
     9  // ListOfListsOfListsResponse is returned by ListOfListsOfLists on success.
    10  type ListOfListsOfListsResponse struct {
    11  	ListOfListsOfLists [][][]string `json:"listOfListsOfLists"`
    12  }
    13  
    14  // GetListOfListsOfLists returns ListOfListsOfListsResponse.ListOfListsOfLists, and is useful for accessing the field via an interface.
    15  func (v *ListOfListsOfListsResponse) GetListOfListsOfLists() [][][]string {
    16  	return v.ListOfListsOfLists
    17  }
    18  
    19  // The query or mutation executed by ListOfListsOfLists.
    20  const ListOfListsOfLists_Operation = `
    21  query ListOfListsOfLists {
    22  	listOfListsOfLists
    23  }
    24  `
    25  
    26  func ListOfListsOfLists(
    27  	client_ graphql.Client,
    28  ) (*ListOfListsOfListsResponse, error) {
    29  	req_ := &graphql.Request{
    30  		OpName: "ListOfListsOfLists",
    31  		Query:  ListOfListsOfLists_Operation,
    32  	}
    33  	var err_ error
    34  
    35  	var data_ ListOfListsOfListsResponse
    36  	resp_ := &graphql.Response{Data: &data_}
    37  
    38  	err_ = client_.MakeRequest(
    39  		nil,
    40  		req_,
    41  		resp_,
    42  	)
    43  
    44  	return &data_, err_
    45  }
    46