mock icon indicating copy to clipboard operation
mock copied to clipboard

mockgen only create file and package, but not create interface and struct

Open cccccccccy opened this issue 3 years ago • 1 comments

  1. ... mockgen --source model/dao/rpc/base.go --destination mock/mock_base.go only create: // Code generated by MockGen. DO NOT EDIT. // Source: model/dao/rpc/base.go

// Package mock_rpc is a generated GoMock package. package mock_rpc

but when i use mockgen with other resp, it works correctly.

cccccccccy avatar Aug 08 '22 10:08 cccccccccy

@cccccccccy Can you please provide code to reproduce?

codyoss avatar Aug 11 '22 18:08 codyoss

Closing due to lack of response.

codyoss avatar Oct 07 '22 19:10 codyoss