15 // WriteCounter counts how many times `Write` is called
u
2014/07/16 11:51:47
"counts how many times `Write` is called" should b
"counts how many times `Write` is called" should be replaced with "counts the
number of bytes written through `Write`", or something along those lines.
On 2014/07/16 11:51:47, u wrote:
> "counts how many times `Write` is called" should be replaced with "counts the
> number of bytes written through `Write`", or something along those lines.
Done.
16 type WriteCounter struct {
17 io.ReadWriter
18 count int
19 }
20
21 func (w *WriteCounter) Write(b []byte) (int, error) {
Issue 111050043: code review 111050043: go.talks: add "Go for Javaneros"
(Closed)
Created 9 years, 8 months ago by francesc
Modified 9 years, 8 months ago
Reviewers: u, campoy
Base URL:
Comments: 22