Versions in this module Expand all Collapse all v0 v0.13.4 Dec 8, 2022 v0.13.3 Dec 8, 2022 v0.13.2 Dec 8, 2022 v0.13.1 Dec 8, 2022 Changes in this version + var AllEpisode = []Episode + var AllLengthUnit = []LengthUnit + func EncodeCursor(i int) string + type Character interface + IsCharacter func() + type CharacterFields struct + AppearsIn []Episode + FriendIds []string + ID string + Name string + type Droid struct + PrimaryFunction string + func (Droid) IsCharacter() + func (Droid) IsSearchResult() + type Episode string + const EpisodeEmpire + const EpisodeJedi + const EpisodeNewhope + func (e *Episode) UnmarshalGQL(v interface{}) error + func (e Episode) IsValid() bool + func (e Episode) MarshalGQL(w io.Writer) + func (e Episode) String() string + type FriendsConnection struct + From int + Ids []string + To int + func (f *FriendsConnection) PageInfo() PageInfo + func (f *FriendsConnection) TotalCount() int + type FriendsEdge struct + Cursor string + Node Character + type Human struct + HeightMeters float64 + Mass float64 + StarshipIds []string + func (Human) IsCharacter() + func (Human) IsSearchResult() + func (h *Human) Height(unit LengthUnit) float64 + type LengthUnit string + const LengthUnitFoot + const LengthUnitMeter + func (e *LengthUnit) UnmarshalGQL(v interface{}) error + func (e LengthUnit) IsValid() bool + func (e LengthUnit) MarshalGQL(w io.Writer) + func (e LengthUnit) String() string + type PageInfo struct + EndCursor string + HasNextPage bool + StartCursor string + type Review struct + Commentary *string + Stars int + Time time.Time + type SearchResult interface + IsSearchResult func() + type Starship struct + History [][]int + ID string + Length float64 + Name string + func (Starship) IsSearchResult()