Hi,

How can we mock a function in Go like os.Hostname() or os.Getwd() ?
Any framework or Library that we can use for mocking the function calls ?

Thanks,
Nitish

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/580c0f7a-a06f-4d5f-acb5-cfe4a194f8f1%40googlegroups.com.

Reply via email to