I see,
I was just confused by the fact that fmt.Printf("%q/%v") apparently renders
a nil array as an empty array ([]) while rendering other nil values (e.g.
pointers) as <nil>.
Thanks for the clarification.
Jan Mercl <[email protected]> schrieb am Fr., 11. Aug. 2017 um 12:50 Uhr:
> On Fri, Aug 11, 2017 at 12:43 PM Jens Hausherr <[email protected]>
> wrote:
>
> > Is the documentation wrong in this case or am I just missing the case
> where nil is returned?
>
> The docs are correct: https://play.golang.org/p/6fiID64IAt
>
>
> --
>
> -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.