On Tuesday, April 23, 2019 at 1:43:52 AM UTC-4, hui zhang wrote:
>
> I am debugging a linux server program in local mac machine.
> some code related to environment check , such as check mount point etc.
>
> I want to pass this check ,   how ?
>
>    - I try it set return error var to nil.  but it seems not working in 
>    devel for now.
>    - I imagine to mock function, but not sure how to do it when debugging.
>    - I knew the convenient way is to change source code directly .   But 
>    there is a lot of code to change .  I don't want to mess it up
>    
> any advice?
>
>
Your post is far to vague for me to even begin giving advice. I would 
suggest that you try to give more detail so that we can get a clear picture 
of what you have and what you are trying to accomplish.  

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to