golang/mock

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

cccccccccy opened this issue · 2 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 Can you please provide code to reproduce?

Closing due to lack of response.