16 lines
281 B
Go
16 lines
281 B
Go
package main
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
ErrUnsupportedFile = errors.New("unsupported file")
|
|
ErrOffsetExceedsFileSize = errors.New("offset exceeds file size")
|
|
)
|
|
|
|
func Copy(fromPath string, toPath string, offset, limit int64) error {
|
|
// Place your code here
|
|
return nil
|
|
}
|