Original post at Medium - Understanding golang Reader/Writer
[https://medium.com/@xeodou/understanding-golang-reader-writer-2c855eae0a94]
Reader/Writer are basic interfaces designed in Golang. For example, if a struct
have a function like:
type Example struct {
}
func (e *Example) Write(p byte[]) (n int, err error) {
}
func (e *Example) Read(p byte[