github.com/HaswinVidanage/gqlgen@v0.8.1-0.20220609041233-69528c1bf712/plugin/modelgen/out/existing.go (about) 1 package out 2 3 type ExistingModel struct { 4 Name string 5 Enum ExistingEnum 6 Int ExistingInterface 7 } 8 9 type ExistingInput struct { 10 Name string 11 Enum ExistingEnum 12 Int ExistingInterface 13 } 14 15 type ExistingEnum string 16 17 type ExistingInterface interface { 18 IsExistingInterface() 19 } 20 21 type ExistingUnion interface { 22 IsExistingUnion() 23 }