Documentation ¶
Index ¶
- type Author
- type AuthorQueryInput
- type AuthorsQueryInput
- type Book
- type BookQueryInput
- type BooksQueryInput
- type CreateAuthorInput
- type CreateBookInput
- type CreateOrderInput
- type DeleteAuthorInput
- type DeleteBookInput
- type DeleteOrderInput
- type Mutation
- type Order
- type OrderLine
- type OrderLineInput
- type OrderQueryInput
- type OrdersQueryInput
- type Query
- type UpdateAuthorInput
- type UpdateBookInput
- type UpdateOrderInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorQueryInput ¶
type AuthorQueryInput struct {
ID string `json:"id"`
}
type AuthorsQueryInput ¶
type AuthorsQueryInput struct {
IDs []string `json:"IDs"`
}
type BookQueryInput ¶
type BookQueryInput struct {
ID string `json:"id"`
}
type BooksQueryInput ¶
type BooksQueryInput struct {
IDs []string `json:"IDs"`
}
type CreateAuthorInput ¶
type CreateAuthorInput struct {
Name string `json:"name"`
}
type CreateBookInput ¶
type CreateOrderInput ¶
type CreateOrderInput struct { OrderLines []*OrderLineInput `json:"orderLines"` TotalPrice int `json:"totalPrice"` OrderDate string `json:"orderDate"` }
type DeleteAuthorInput ¶
type DeleteAuthorInput struct {
ID string `json:"id"`
}
type DeleteBookInput ¶
type DeleteBookInput struct {
ID string `json:"id"`
}
type DeleteOrderInput ¶
type DeleteOrderInput struct {
ID string `json:"id"`
}
type OrderLineInput ¶
type OrderQueryInput ¶
type OrderQueryInput struct {
ID string `json:"id"`
}
type OrdersQueryInput ¶
type OrdersQueryInput struct {
IDs []string `json:"IDs"`
}
type UpdateAuthorInput ¶
type UpdateBookInput ¶
type UpdateOrderInput ¶
type UpdateOrderInput struct { ID string `json:"id"` OrderLines []*OrderLineInput `json:"orderLines,omitempty"` OrderDate string `json:"orderDate"` TotalPrice int `json:"totalPrice"` }
Click to show internal directories.
Click to hide internal directories.