动态进度条,用于在服务器使用Golang处理文件时上传文件和一个微调器

Since I am building a CLI, I need a dynamic progress bar (real time) which shows % of file already uploaded to the server in golang. To achieve that I used https://github.com/cheggaaa/pb which help me to achieve my first task, but since server takes around 30 sec or 1 min (not fixed) time to process that file uploaded by user and then send response back to the user.

I need another spinner which will start after this progress bar is completed to 100% (file uploaded to server) which will be running till my server is processing with the uploaded file.

Code for dynamic progress bar is in gist https://gist.github.com/rishav-csenitjsr/c8ae5c2f52fe8911330609bc1b3cb3f2

How to put a spinner after the file has been completely uploaded to the server ?