github.com/99designs/gqlgen@v0.17.45/plugin/federation/testdata/entityinterfaces/generated/models_gen.go (about) 1 // Code generated by github.com/99designs/gqlgen, DO NOT EDIT. 2 3 package generated 4 5 type Hello interface { 6 IsEntity() 7 IsHello() 8 GetID() string 9 GetTitle() string 10 } 11 12 type Query struct { 13 } 14 15 type World struct { 16 ID string `json:"id"` 17 Title string `json:"title"` 18 } 19 20 func (World) IsHello() {} 21 func (this World) GetID() string { return this.ID } 22 func (this World) GetTitle() string { return this.Title } 23 24 func (World) IsEntity() {}