Directories ¶
Path | Synopsis |
---|---|
Example for using io.Copy to copy directly from STDIN which is an io.Reader to STDOUT which is an io.Writer.
|
Example for using io.Copy to copy directly from STDIN which is an io.Reader to STDOUT which is an io.Writer. |
bufio
|
|
bytes
|
|
file
|
|
pipe
|
|
reader
|
|
01-reading-a-file-in-chuncks-of-a-bytes
io.Reader is an interface of type Reader, that is defined within the io package.
|
io.Reader is an interface of type Reader, that is defined within the io package. |
04-creating-my-first-Read-Method
The purpose of this program is to create a new type called storage, which can hold some data of type string The storage type shall have a read method, to read the content of the storage into a variable.
|
The purpose of this program is to create a new type called storage, which can hold some data of type string The storage type shall have a read method, to read the content of the storage into a variable. |
04.2-creating-my-first-Read-Method-with-func-accepting-io.Reader
The purpose of this program is to test creating a Read Method who follows the rule for Read methods, by taking a []byte as input, and returning n characters read, and an error telling when done or failed.
|
The purpose of this program is to test creating a Read Method who follows the rule for Read methods, by taking a []byte as input, and returning n characters read, and an error telling when done or failed. |
utils
|
|
02-ReadAll
ioutil testing ioutil is a package with some functions to make file reading and writing easier.
|
ioutil testing ioutil is a package with some functions to make file reading and writing easier. |
writer
|
|
Click to show internal directories.
Click to hide internal directories.