I didn't mention the word internal, nor did I imply it; with
documentation stating that it would be used, it is clearly *not*
internal.
If you look at the code in question, you can see a probable reason why
a Lener interface is not used; for each of the blessed types, a
concrete copy of the pointed-to-value is made to allow GetBody to
return it. This cannot be done with an interface value without the use
of reflect.
Please show me a Len method in the standard library that does not
return the number of available-to-access elements in a collection.
> > > > > > > > On Feb 6, 2019, at 8:30 AM, Burak Serdar <bserdar@ieee.
> > > > > > > > > > > it, send an email to golang-nuts...@googlegroups.
> > > > > > > > > > > com.
> > > > > > > > > > > For more options, visit
https://groups.google.com
> > > > > > > > > > > /d/o
> > > > > > > > > > > ptou
> > > > > > > > > > > t.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > 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...@googlegroups.
> > > > > > > > > > > com.
> > > > > > > > > > > For more options, visit
https://groups.google.com
> > > > > > > > > > > /d/o
> > > > > > > > > > > ptou
> > > > > > > > > > > t.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > 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...@googlegroups.
> > > > > > > > > > > com.
> > > > > > > > > > > For more options, visit
https://groups.google.com
> > > > > > > > > > > /d/o
> > > > > > > > > > > ptou
> > > > > > > > > > > t.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > 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...@googlegroups.
> > > > > > > > > > > com.
> > > > > > > > > > > For more options, visit
https://groups.google.com
> > > > > > > > > > > /d/o
> > > > > > > > > > > ptou
> > > > > > > > > > > t.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > --
> > > > > > > > > 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+unsubscribe@googlegroups
> > > > > > > > > .com
> > > > > > > > > .
> > > > > > > > > For more options, visit
https://groups.google.com/d/o
> > > > > > > > > ptou
> > > > > > > > > t.
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > 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+unsubscribe@googlegroups