LINUX.ORG.RU

История изменений

Исправление WitcherGeralt, (текущая версия) :

alkorgun@HK-47:~$ go doc os.File.Read
func (f *File) Read(b []byte) (n int, err error)
    Read reads up to len(b) bytes from the File. It returns the number of bytes
    read and any error encountered. At end of file, Read returns 0, io.EOF.

То же самое показывает и IDE.

Исходная версия WitcherGeralt, :

alkorgun@HK-47:~$ go doc os.File.Read
func (f *File) Read(b []byte) (n int, err error)
    Read reads up to len(b) bytes from the File. It returns the number of bytes
    read and any error encountered. At end of file, Read returns 0, io.EOF.

То же самое показывает и IDE.