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
Watch video #golang online without registration, duration hours minute second in high quality. This video was added by user Coding with Verrol 19 April 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 347 once and liked it 12 people.