Documentation ¶
Index ¶
- func MarshalID(v primitive.ObjectID) graphql.Marshaler
- func MarshalTimestamp(t time.Time) graphql.Marshaler
- func UnmarshalID(v interface{}) (primitive.ObjectID, error)
- func UnmarshalTimestamp(v interface{}) (time.Time, error)
- type Comic
- type ComicConnection
- type ComicEdge
- type Episode
- type EpisodeConnection
- type EpisodeEdge
- type Page
- type PageInfo
- type Source
- type SourceCreatePayload
- type SourceDeletePayload
- type SourceInput
- type Update
- type UserError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalTimestamp ¶
UnmarshalTimestamp ...
Types ¶
type Comic ¶
type Comic struct { ID primitive.ObjectID `bson:"_id"` Name string `bson:"name"` CreatedAt time.Time `bson:"created_at,omitempty"` UpdatedAt time.Time `bson:"updated_at,omitempty"` }
Comic merepresentasikan objek komik
type ComicConnection ¶
ComicConnection hold data required to build ComicConnection on graphql
type Episode ¶
type Episode struct { ID primitive.ObjectID `bson:"_id"` ComicID primitive.ObjectID `bson:"comic_id"` No int `bson:"no"` Name string `bson:"name"` CreatedAt time.Time `bson:"created_at,omitempty"` UpdatedAt time.Time `bson:"updated_at,omitempty"` }
Episode ...
type EpisodeConnection ¶
type EpisodeConnection struct { ComicID primitive.ObjectID Pagination pagination.Interface }
EpisodeConnection hold data required to build EpisodeConnection on graphql
type EpisodeEdge ¶
type Page ¶
type Page struct { ID primitive.ObjectID `json:"ID" bson:"_id"` EpisodeID primitive.ObjectID `json:"episodeID" bson:"episode_id"` SourceID primitive.ObjectID `json:"sourceID" bson:"source_id"` Link string `json:"link" bson:"link"` CreatedAt time.Time `json:"createdAt" bson:"created_at,omitempty"` UpdatedAt time.Time `json:"updatedAt" bson:"updated_at,omitempty"` }
Page ...
type Source ¶
type Source struct { ID primitive.ObjectID `bson:"_id"` Name string `bson:"name"` Hostname string `bson:"hostname"` CreatedAt time.Time `bson:"created_at,omitempty"` UpdatedAt time.Time `bson:"updated_at,omitempty"` }
Source ...
type SourceCreatePayload ¶
type SourceDeletePayload ¶
type SourceInput ¶
Click to show internal directories.
Click to hide internal directories.