On Oct 18, 2016 2:56 AM, "Aram Hăvărneanu" <ara...@mgk.ro> wrote:
> On Mon, Oct 17, 2016 at 8:29 PM, Liam Breck <networkimp...@gmail.com>
> > bytes.Replace(s []byte, pos int, len uint, new []byte)
> I have no idea what this bizarre hypothetical function does. It's an
> awful interface that aims to solve an unknown problem nobody has
> claimed to have.

May I refer you to the previous messages in this thread?

> Also, bytes.Replace already exists.

My mistake, should be

bytes.ReplaceAt(s []byte, pos, len int, new []byte)

Guess I still miss function overloading :-)

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