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: metastore.go
    path of file: ./repos/aresdb/metastore/mocks
    
    the code of the file until where you have to start completion: // Code generated by mockery v1.0.0. DO NOT EDIT.

package mocks

import common "github.com/uber/aresdb/metastore/common"
import mock "github.com/stretchr/testify/mock"

// MetaStore is an autogenerated mock type for the MetaStore type
type MetaStore struct {
	mock.Mock
}

// AddArchiveBatchVersion provides a mock function with given fields: table, shar
    
func (_m *MetaStore) GetArchiveBatches(table string, shard int, start int32, end int32) ([]int, error) {
	ret := _m.Called(table, shard, start, end)

	var r0 []int
	if rf, ok := ret.Get(0).(func(string, int, int32, int32) []int); ok {
		r0 = rf(table, shard, start, end)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]int)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(string, int, int32, int32) error); ok {
		r1 = rf(table, shard, start, end)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}