Documentation ¶
Index ¶
- Variables
- func ResolveCreateUser(firstName string, lastName string, email string, password string) (result *userResolver)
- func ResolveDeleteUser(id string) *string
- func ResolveUpdateUser(id string, firstName *string, lastName *string, email *string, ...) (result *userResolver)
- func ResolveUser(id string) (result *userResolver)
- func ResolveUsers() (result []*userResolver)
- type Resolver
- func (r *Resolver) CreateUser(ctx context.Context, args ...) *userResolver
- func (r *Resolver) DeleteUser(ctx context.Context, args *struct{ Id graphql.ID }) *graphql.ID
- func (r *Resolver) UpdateUser(ctx context.Context, args ...) *userResolver
- func (r *Resolver) User(ctx context.Context, args *struct{ Id graphql.ID }) *userResolver
- func (r *Resolver) Users(ctx context.Context) []*userResolver
Constants ¶
This section is empty.
Variables ¶
View Source
var Schema = `` /* 535-byte string literal not displayed */
Functions ¶
func ResolveCreateUser ¶
func ResolveDeleteUser ¶
func ResolveUpdateUser ¶
func ResolveUser ¶
func ResolveUser(id string) (result *userResolver)
func ResolveUsers ¶
func ResolveUsers() (result []*userResolver)
Types ¶
type Resolver ¶
type Resolver struct{}
func (*Resolver) CreateUser ¶
func (*Resolver) DeleteUser ¶
func (*Resolver) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.