Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dates = gql.NewObject(gql.ObjectConfig{ Name: "Dates", Fields: gql.Fields{ "maximum": &gql.Field{ Type: gql.String, }, "minimum": &gql.Field{ Type: gql.String, }, }, })
Dates type
View Source
var Genres = gql.NewObject(gql.ObjectConfig{ Name: "Genres", Fields: gql.Fields{ "ID": &gql.Field{ Type: gql.Int, }, "name": &gql.Field{ Type: gql.String, }, }, })
Genres type
View Source
var NowPlaying = gql.NewObject(gql.ObjectConfig{ Name: "NowPlaying", Fields: gql.Fields{ "results": &gql.Field{ Type: gql.NewList(Results), }, "page": &gql.Field{ Type: gql.Int, }, "totalPages": &gql.Field{ Type: gql.Int, }, "totalResults": &gql.Field{ Type: gql.Int, }, "dates": &gql.Field{ Type: Dates, }, }, })
NowPlaying type
View Source
var Results = gql.NewObject(gql.ObjectConfig{ Name: "Results", Fields: gql.Fields{ "ID": &gql.Field{ Type: gql.String, }, "title": &gql.Field{ Type: gql.String, }, "overview": &gql.Field{ Type: gql.String, }, "popularity": &gql.Field{ Type: gql.Float, }, "posterPath": &gql.Field{ Type: gql.String, }, "originalTitle": &gql.Field{ Type: gql.String, }, "originalLanguage": &gql.Field{ Type: gql.String, }, "voteCount": &gql.Field{ Type: gql.Int, }, "video": &gql.Field{ Type: gql.Boolean, }, "voteAverage": &gql.Field{ Type: gql.Float, }, "adult": &gql.Field{ Type: gql.Boolean, }, "releaseDate": &gql.Field{ Type: gql.String, }, "backdropPath": &gql.Field{ Type: gql.String, }, "genres": &gql.Field{ Type: gql.NewList(Genres), }, }, })
Results type
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.