In the most case, Golang use Map as an argument of the function, not pointer of Map. But inside the function, we can still Add/Delete entry in this map, but can not initial if the input map is nil. So, we need to check if this Argument is nil or not.
Example, I want to generate the Mock for AddItem function and use SetArg to set the after value.
Requested feature
Why the feature is needed
Example, I want to generate the Mock for AddItem function and use SetArg to set the after value.
https://play.golang.org/p/sXnsc8FExox