Now that we know how to count the number of times our Write() method is called, let's extend that a bit. We will count how many bytes are written through our 'writer'.
Documentation, slides, and code for the series are here:
https://github.com/xiliax/go-lang-pro....
go, golang, go language