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: buffered_subscription.go
    path of file: ./repos/syncthing/lib/events/mocks
    
    the code of the file until where you have to start completion: // Code generated by counterfeiter. DO NOT EDIT.
package mocks

import (
	"sync"
	"time"

	"github.com/syncthing/syncthing/lib/events"
)

type Buffer
    
func (fake *BufferedSubscription) MaskReturns(result1 events.EventType) {
	fake.maskMutex.Lock()
	defer fake.maskMutex.Unlock()
	fake.MaskStub = nil
	fake.maskReturns = struct {
		result1 events.EventType
	}{result1}
}