
templates.golang.service.test.mockfunctionbulk.template Maven / Gradle / Ivy
The newest version!
func (se *ExecutorMock) Execute@title@Bulk(ctx context.Context, request *fs.Bulk@service_request@) (*fs.Bulk@service_response@, error) {
var @service_response@ *fs.Bulk@service_response@
args := se.Called(ctx,request)
mocked@service_response@ := args.Get(0)
if mocked@service_response@!=nil{
@service_response@ = mocked@service_response@.(*fs.Bulk@service_response@)
}
return @service_response@,args.Error(1)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy