diff --git a/hw07_file_copying/copy.go b/hw07_file_copying/copy.go index e8b329d..040c7a9 100644 --- a/hw07_file_copying/copy.go +++ b/hw07_file_copying/copy.go @@ -72,5 +72,6 @@ func Copy(fromPath string, toPath string, offset, limit int64) error { if _, err = io.CopyN(fOut, pg, limit); err != nil { return err } + return nil }