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 <0xj...@gmail.com> schrieb am Fr., 11. Aug. 2017 um 12:50 Uhr: > On Fri, Aug 11, 2017 at 12:43 PM Jens Hausherr <jabbrw...@gmail.com> > 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.