Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (2 sloc) 226 Bytes

io.Reader和io.Writer接口

如前所述,实现io.Reader接口需要实现Read()方法,io.Writer()接口需要实现Write()方法。这两个接口在Go中非常常见,我们将在稍后使用它们。

You can’t perform that action at this time.