On Mon, Jan 29, 2018 at 12:36 PM pradam <[email protected]>
wrote:
> //here its throwing error like: non-boolean condition in if statement
The compiler is right. 'arr' is not a boolean expresion, its type is
'interface{}'. Try: https://play.golang.org/p/zwNV9RD2oCs.
--
-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 [email protected].
For more options, visit https://groups.google.com/d/optout.