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: oneshot.go
    path of file: ./repos/gqlgen/graphql
    
    the code of the file until where you have to start completion: package graphql

import "context"

func OneShot(resp *Response) ResponseHandler {
	var oneshot bool

	return func(context context.C
    
func OneShot(resp *Response) ResponseHandler {
	var oneshot bool

	return func(context context.Context) *Response {
		if oneshot {
			return nil
		}
		oneshot = true

		return resp
	}
}