-
Notifications
You must be signed in to change notification settings - Fork 161
Open
Description
Actual behavior A clear and concise description of what the bug is.
we have an interface that uses "github.com/tikv/client-go/v2/tikv".Codec. And that type is defined as
under "github.com/tikv/client-go/v2/tikv":
import "github.com/tikv/client-go/v2/internal/apicodec"
...
type Codec = apicodec.CodecIn the generated mock files, it directly imports "github.com/tikv/client-go/v2/internal/apicodec" which is not allowed for the non-internal usage.
Expected behavior A clear and concise description of what you expected to
happen.
It should import "github.com/tikv/client-go/v2/tikv" instead
To Reproduce Steps to reproduce the behavior
- ...
- ...
Additional Information
- gomock mode (reflect or source): default value
- gomock version or git ref: v0.5.0
- golang version: 1.23
Triage Notes for the Maintainers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels