go:generate mockgen -source=user.go -destination=./mock/mock.go
| 2 | |
| 3 | //go:generate mockgen -source=user.go -destination=./mock/mock.go |
| 4 | type Index interface { |
| 5 | Get(key string) interface{} |
| 6 | GetTwo(key1, key2 string) (v1, v2 interface{}) |
| 7 | Put(key string, value interface{}) |
| 8 | } |
no outgoing calls
no test coverage detected