Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinContextFromContext ¶
recover *gin.Context from context.Context
func NewDirectives ¶
func NewDirectives(logger log.Logger) generated.DirectiveRoot
Types ¶
type CreateTodoRequest ¶
type CreateTodoRequest struct { T model.CreateTodoInput CreatedBy string }
type Resolver ¶
type Resolver struct { Logger log.Logger GetTodoEndpoint endpoint.Endpoint TodoPagesEndpoint endpoint.Endpoint TodoSearchEndpoint endpoint.Endpoint CreateTodoEndpoint endpoint.Endpoint UpdateTodoEndpoint endpoint.Endpoint }
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
type TodoSearchRequest ¶
type TodoSearchRequest struct { T model.TodoSearchInput P model.PaginationInput }
type UpdateTodoRequest ¶
type UpdateTodoRequest struct { Id string T model.UpdateTodoInput UpdatedBy string }
Click to show internal directories.
Click to hide internal directories.