Skip to content

[Bug]: cannot handle non-empty unnamed interfaces in mockgen #24464

@mmsqe

Description

@mmsqe

Summary of Bug

cannot handle non-empty unnamed interfaces due to type alias like https://github.com/cosmos/cosmos-db/blob/58ab43bc265b9985c8fd6ff78e1a8be1dfd4f4dc/types.go#L133

Version

main

Steps to Reproduce

mockgen -package mock -destination store/mock/cosmos_cosmos_db_DB.go github.com/cosmos/cosmos-db DB

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions