github.com/fortexxx/gqlgen@v0.10.3-0.20191216030626-ca5ea8b21ead/plugin/modelgen/out/existing.go (about)

     1  package out
     2  
     3  type ExistingType struct {
     4  	Name     *string              `json:"name"`
     5  	Enum     *ExistingEnum        `json:"enum"`
     6  	Int      ExistingInterface    `json:"int"`
     7  	Existing *MissingTypeNullable `json:"existing"`
     8  }
     9  
    10  type ExistingModel struct {
    11  	Name string
    12  	Enum ExistingEnum
    13  	Int  ExistingInterface
    14  }
    15  
    16  type ExistingInput struct {
    17  	Name string
    18  	Enum ExistingEnum
    19  	Int  ExistingInterface
    20  }
    21  
    22  type ExistingEnum string
    23  
    24  type ExistingInterface interface {
    25  	IsExistingInterface()
    26  }
    27  
    28  type ExistingUnion interface {
    29  	IsExistingUnion()
    30  }