• Home
Sign in Subscribe

笔记

A collection of 1 post
golang

Understanding golang Reader/Writer

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[
2017年2月22日 2 min read
Page 1 of 1
© 2025
Powered by Ghost