Running a "Go" program in Home Assistant (OS)

I found this Go program that does something I need (decrypts WhatsApp media messages, this will be cool for automations). On a windows machine I’m able to build an .exe and run it and it works great. How would I even approach building it and running it in Home Assistant? Any idea?

Thanks!

I would put it in a container and use as a local add-on.

You can create your local image and deploy it under supervisor. Tutorial: Making your first add-on | Home Assistant Developer Docs