You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm using mockery version 2.7.4, and i have a private interface:
type elasticsearchRequest interface {
Do(ctx context.Context, transport esapi.Transport) (resp *esapi.Response, err error)
}
what i did : mockery --exported --name=elasticsearchRequest
generated file still use private interface
// Code generated by mockery v2.7.4. DO NOT EDIT.
package mocks
import (
context "context"
esapi "github.com/elastic/go-elasticsearch/v7/esapi"
mock "github.com/stretchr/testify/mock"
)
// elasticsearchRequest is an autogenerated mock type for the elasticsearchRequest type
type elasticsearchRequest struct {
mock.Mock
}
...
The text was updated successfully, but these errors were encountered:
I hope that this issue will be resolved by the granular level of control the packages configuration feature gives you. Please give that a shot and let me know if it doesn't work.
i'm using mockery version 2.7.4, and i have a private interface:
what i did :
mockery --exported --name=elasticsearchRequest
generated file still use private interface
The text was updated successfully, but these errors were encountered: