stufflog graphql server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
803 B

  1. package resolvers
  2. // This file will be automatically regenerated based on the schema, any resolver implementations
  3. // will be copied through when generating and any unknown code will be moved to the end.
  4. import (
  5. "context"
  6. "fmt"
  7. "git.aiterp.net/stufflog/server/graph/graphcore"
  8. "git.aiterp.net/stufflog/server/models"
  9. )
  10. func (r *mutationResolver) LoginUser(ctx context.Context, input *graphcore.UserLoginInput) (*models.User, error) {
  11. panic(fmt.Errorf("not implemented"))
  12. }
  13. func (r *mutationResolver) LogoutUser(ctx context.Context) (*models.User, error) {
  14. panic(fmt.Errorf("not implemented"))
  15. }
  16. // Mutation returns graphcore.MutationResolver implementation.
  17. func (r *Resolver) Mutation() graphcore.MutationResolver { return &mutationResolver{r} }
  18. type mutationResolver struct{ *Resolver }