My Golang development setup

Sher Chowdhury
Learning-Go
Published in
1 min readApr 13, 2023

--

Photo by Linus Mimietz on Unsplash

There’s really only two things you need before you can start developing in Golang, they are Golang itself, and an IDE. You can install Golang using a package manager or manually.

There are a few IDEs to go for, but VS Code has become the most popular amongst Go developers.

Setting up VS Code as a Golang IDE

VS Code is essentially a glorified text editor, that can be used for writing code in all sorts of programming languages, such as Python and Javascript. As a result VS Code on its own, isn’t optimised for any programming languages in particular. That’s why you need to install the official Go extension, in order to transform VS code from a text editor to a powerful Golang IDE.

It’s also worth spend a few minutes reading through the README file and also this wiki, which covers all the features this extension offers — https://github.com/golang/vscode-go/wiki/features

Optional extras

It’s definitely worth exploring the the VS code extensions marketplace for handy extensions. In my case I’ve installed the cobalt2 theme extension which changes how my VS code’s UI looks.

--

--