28 lines
902 B
Go
28 lines
902 B
Go
package graph
|
|
|
|
// This file will be automatically regenerated based on the schema, any resolver implementations
|
|
// will be copied through when generating and any unknown code will be moved to the end.
|
|
// Code generated by github.com/99designs/gqlgen version v0.17.66
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
|
|
model1 "git.squidspirit.com/squid/blog.git/backend/internal/framework/graph/model"
|
|
)
|
|
|
|
// Posts is the resolver for the posts field.
|
|
func (r *queryResolver) Posts(ctx context.Context) ([]*model1.Post, error) {
|
|
panic(fmt.Errorf("not implemented: Posts - posts"))
|
|
}
|
|
|
|
// Post is the resolver for the post field.
|
|
func (r *queryResolver) Post(ctx context.Context, id string) (*model1.Post, error) {
|
|
panic(fmt.Errorf("not implemented: Post - post"))
|
|
}
|
|
|
|
// Query returns QueryResolver implementation.
|
|
func (r *Resolver) Query() QueryResolver { return &queryResolver{r} }
|
|
|
|
type queryResolver struct{ *Resolver }
|