Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resolver ¶
type Resolver struct { Repositories *repository.Container Translator translation.TranslatorInterface }
Resolver serves as dependency injection for your app, add any dependencies you require here.
func NewResolver ¶
func NewResolver(repos *repository.Container, translator translation.TranslatorInterface) *Resolver
NewResolver instantiate a Resolver
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.
Click to show internal directories.
Click to hide internal directories.