Sure. Here's a slightly expanded example.
https://play.golang.org/p/bfKFrATI0q

On Tue, Apr 25, 2017 at 5:20 AM, Vikas Kumar <vikas...@gmail.com> wrote:

> Thanks a ton Michael and Ishan. Let me understand the code and use this in
> my program.
>
> Cheers,
> Vikas
>
> --
> 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.
>



-- 
Michael T. Jones
michael.jo...@gmail.com

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