github.com/Desuuuu/genqlient@v0.5.3/generate/testdata/snapshots/TestGenerate-ListOfListsOfLists.graphql-ListOfListsOfLists.graphql.go (about) 1 // Code generated by github.com/Desuuuu/genqlient, DO NOT EDIT. 2 3 package test 4 5 import ( 6 "github.com/Desuuuu/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 func ListOfListsOfLists( 20 client graphql.Client, 21 ) (*ListOfListsOfListsResponse, error) { 22 req := &graphql.Request{ 23 OpName: "ListOfListsOfLists", 24 Query: ` 25 query ListOfListsOfLists { 26 listOfListsOfLists 27 } 28 `, 29 } 30 var err error 31 32 var data ListOfListsOfListsResponse 33 resp := &graphql.Response{Data: &data} 34 35 err = client.MakeRequest( 36 nil, 37 req, 38 resp, 39 ) 40 41 return &data, err 42 } 43