YADRO Test Task
��������� �������� �������� �������, ������� ������ �� ������� �������������
�����, ������������ ������� � ������������ ������� �� ���� � ����� ���������
������� �����.
������� ����� ���� ����������� �� Golang.
�������� ������� �����: ���� ��� ��������� ������ � �������� ����� ���������
�� ����� Golang (������ 1.19 � ������) � �������������� go modules, ���������� ��
������� � �������� ������� (���������� ������ � �� ���������� ������������).
������� ������ ������������ ����� ��������� ����. ���� ����������� ������
���������� ��� ������� ���������. ������ ������� ���������:
$ task.exe test_file.txt
��������� ������ ���������c� � Linux ��� Windows � �������������� docker
container-a (��������� ��������� Dockerfile). ��������� ������������� �����������
���������� (https://pkg.go.dev/std). ������������� ����� ��������� ���������, �����
�����������, ���������. � �������, ����� ������ � �������� �����, ���������
������������ ���������� �� ������� ��������� ��� ��������.
������ ��� ���������� ����� ����-������
- ����������� �����������
git clone https://github.com/4aykovski/yadro_test_task.git
- ������� � ���������� �������
cd yadro_test_task
- ��������� �����
docker build -t your_image_name:your_tag .
- ��������� ��������� � ��������������� ����-�������
docker run -t your_image_name:your_tag
������ � ����������� ����� ����-������
- ����������� �����������
git clone https://github.com/4aykovski/yadro_test_task.git
- ������� � ���������� �������
cd yadro_test_task
- ������� � �����
cases
����� ����-���� � ��������� ���
nano ./cases/new_test_case.txt
- �� ������� �������� � Makefile ����� ����-���� �� �������� � ������������� ��� ������� ���� ����-������ �����
nano ./Makefile
- ��������� �����
docker build -t your_image_name:your_tag .
- ��������� ��������� � ����� ����-������
docker run -t your_image_name:your_tag ./app ./cases/new_test_case.txt
- � ������ ���������� ����-����� � Makefile - ��������� ��� ����-�����
docker run -t your_image_name:your_tag