Программа должна корректно обрабатывать ситуацию, когда offset или offset+limit за пределами source файла.
копирует 2К из source в dest, пропуская 1K данных
gocopy -from /path/to/source -to /path/to/dest -offset 1024 -limit 2048
Hello, it's my programm for copying files - gocopy.
This is flags for usage:
-from string - path to source.
-to string - path to destination.
-offset int - offset in file in bytes.
-limit int - copy limit of file.
make
make install
make build
make test
make clean
make run
make build_docker