There may be another way, but this is one way to print the struct fields:
https://play.golang.org/p/sGZMBGG7r79
See line 17.
On Sunday, February 18, 2018 at 8:57:02 AM UTC-5, Diego Medina wrote:
>
> using %#v
>
> as in
>
> https://play.golang.org/p/VVqUVsfzx6e
>
>
>
> log.Printf("Hello,
using %#v
as in
https://play.golang.org/p/VVqUVsfzx6e
log.Printf("Hello, playground %#v\n", ret)
On Saturday, February 17, 2018 at 7:05:42 PM UTC-5, Joseph Lorenzini wrote:
>
> Hi all:
>
> Per documentation:
>
> "If an operand implements the error interface, the Error method will be
>