29 lines
876 B
Go
29 lines
876 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.55
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
graph "gitserver.in/patialtech/rano/graph/generated"
|
||
|
)
|
||
|
|
||
|
// HeartBeat is the resolver for the heartBeat field.
|
||
|
func (r *queryResolver) HeartBeat(ctx context.Context) (bool, error) {
|
||
|
// do needful checkup
|
||
|
//
|
||
|
|
||
|
return true, nil
|
||
|
}
|
||
|
|
||
|
// Mutation returns graph.MutationResolver implementation.
|
||
|
func (r *Resolver) Mutation() graph.MutationResolver { return &mutationResolver{r} }
|
||
|
|
||
|
// Query returns graph.QueryResolver implementation.
|
||
|
func (r *Resolver) Query() graph.QueryResolver { return &queryResolver{r} }
|
||
|
|
||
|
type mutationResolver struct{ *Resolver }
|
||
|
type queryResolver struct{ *Resolver }
|