progressbar
A really basic thread-safe progress bar for Golang applications
... will automatically convert it to a spinner with a customizable spinner type. For example, the above code can be run and set the resp.ContentLength to -1. There is a lot of customization that you can do - change the writer, the color, the width, the description, the theme, etc.