You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: schema.resolvers.go
    path of file: ./repos/gqlgen/_examples/federation/reviews/graph
    
    the code of the file until where you have to start completion: package graph

// This file will be automatically regenerated based on the schema, any resolver 
    
func (r *userResolver) Reviews(ctx context.Context, obj *model.User) ([]*model.Review, error) {
	var productReviews []*model.Review
	for _, review := range reviews {
		if review.Author.ID == obj.ID {
			productReviews = append(productReviews, review)
		}
	}
	return productReviews, nil
}