blog/backend/internal/framework/graph/schema.resolvers.go
SquidSpirit a9081734b3
All checks were successful
Frontend CI / build (push) Successful in 1m30s
BLOG-43 init: go gqlgen setup
2025-03-13 23:42:36 +08:00

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 }