Re: [go-nuts] log package implementation question

2017-06-07 Thread Ian Lance Taylor
On Wed, Jun 7, 2017 at 11:12 AM, wrote: > > I was perusing the code for the standard log package (src/log/log.go - The > Go Programming Language) and was wondering why the formatHeader method (line > 92) takes a pointer to byte slice since the only call to this method line >

[go-nuts] log package implementation question

2017-06-07 Thread hanisch
I was perusing the code for the standard log package (src/log/log.go - The Go Programming Language ) and was wondering why the formatHeader method (line 92) takes a pointer to byte slice since the only call to this method line (163) calls it