github.com/deliveroo/gqlgen@v0.7.2/codegen/testserver/models-gen.go (about)

     1  // Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
     2  
     3  package testserver
     4  
     5  type InnerInput struct {
     6  	ID int `json:"id"`
     7  }
     8  
     9  type InnerObject struct {
    10  	ID int `json:"id"`
    11  }
    12  
    13  type Keywords struct {
    14  	Break       string `json:"break"`
    15  	Default     string `json:"default"`
    16  	Func        string `json:"func"`
    17  	Interface   string `json:"interface"`
    18  	Select      string `json:"select"`
    19  	Case        string `json:"case"`
    20  	Defer       string `json:"defer"`
    21  	Go          string `json:"go"`
    22  	Map         string `json:"map"`
    23  	Struct      string `json:"struct"`
    24  	Chan        string `json:"chan"`
    25  	Else        string `json:"else"`
    26  	Goto        string `json:"goto"`
    27  	Package     string `json:"package"`
    28  	Switch      string `json:"switch"`
    29  	Const       string `json:"const"`
    30  	Fallthrough string `json:"fallthrough"`
    31  	If          string `json:"if"`
    32  	Range       string `json:"range"`
    33  	Type        string `json:"type"`
    34  	Continue    string `json:"continue"`
    35  	For         string `json:"for"`
    36  	Import      string `json:"import"`
    37  	Return      string `json:"return"`
    38  	Var         string `json:"var"`
    39  }
    40  
    41  type OuterInput struct {
    42  	Inner InnerInput `json:"inner"`
    43  }
    44  
    45  type OuterObject struct {
    46  	Inner InnerObject `json:"inner"`
    47  }
    48  
    49  type User struct {
    50  	ID      int    `json:"id"`
    51  	Friends []User `json:"friends"`
    52  }