Hello,

Is there any way to avoid the compilation error "*error is not a type" of 
this example https://play.golang.org/p/gWNStGSCfTm ?
I understand the variable named `error` hides the type named `error` but is 
there some other syntax to specify the error type?

I am facing this issue while writing an instrumentation tool: some 
functions the tool instruments have such signatures, while the tool add Go 
code referencing the type name, not the variable name.

Thanks for your help

-- 
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/8612f73c-bfb4-4bce-a5d3-3567ee2cbd9a%40googlegroups.com.

Reply via email to