Hacker News new | ask | show | jobs
by bartmika 1338 days ago
The advice in this thread is excellent so far. I'll add to the discussion to say that another option you have is to containerize your Golang application and have a container for every project you work with. If this interests you, I've written a Blog article on it:

https://bartlomiejmika.com/posts/2022/how-to-containerize-a-...

It takes a little bit more time to setup your application in a container, but as time goes on, it saves you work by containing different services you can easily re-create / add / delete / etc versus having to install them manually in your workstation. In addition, having a containerized Golang application is the first step to creating "cloud-native" sort of applications. If this interests you, checkout this tutorial on building cloud-native applications:

https://learning-cloud-native-go.github.io/