On Thu, Feb 16, 2017 at 8:20 PM Dragos Harabor <dh...@harabor.com> wrote:

> Is there any way to check whether the value stored in a non-nil interface
is nil when you don't know the type, short of using reflect.Value.IsNil()?

For example: https://play.golang.org/p/Sdqx7Frjxj

-- 

-j

-- 
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