Store Computer Audio in a file with golang

Is their any way to capture and store computer audio in a file. Computer audio could be anything with a sound like youtube audio, zoom call audio.

Let me know if need more information. Any guidance is appreciated.