Go
Share:
These questions were only shown to respondents who chose Go as one of their three primary programming languages.
68%
77%
No
32%
23%
Yes
The number of developers who are using multiple versions of Go simultaneously has grown since last year.
Only about one third of Go developers work with a single project at a time, while the rest of them work with multiple projects simultaneously.
87%
86%
Go Modules
6%
5%
govendor
3%
4%
godep
3%
2%
gom
2%
5%
dep
Go modules remains the most popular package manager while the popularity of some package managers such as godep and dep has decreased.
This question was asked only if the respondent selected “Visual Studio Code”, “Vim”, “Sublime Text” in response to the question “Which IDE / editor do you mostly use for Go development?”
Very satisfied
Satisfied
Neutral
Unsatisfied
This question was asked only if the respondent selected “Yes” in response to the question “Do you use gopls?”
Go developers mentioned JavaScript, Python, and TypeScript most often as the languages they use together with Go in a single project. At the same time, 15 % of respondents develop projects exclusively in Go and don’t use any additional languages.
51%
53%
I don’t use a proxy
23%
27%
Public goproxy.io / goproxy.cn
21%
18%
Public proxy.golang.org
12%
8%
Private goproxy
4%
2%
Private JFrog Artifactory
The number of Go developers who use a private Go modules proxy has risen.
2022
2021
The share of respondents who use vendoring in their Go projects is becoming smaller, with the exception of those working on Go modules projects. In the latter case, more developers are using vendoring.
41%
34%
Standard library
30%
35%
gorilla/mux
9%
10%
go-chi/chi
5%
7%
julienschmidt/httproute
2%
1%
go-zoo/bone
Standard library is the most widely used Go router, and its popularity is still on the rise. As for the other Go routers, gorilla / mux has become less popular.
About one fifth of Go developers don’t write any unit tests for Go. Another 17% do write unit tests but don’t use any frameworks.
Fewer than 5
5–20
More than 20
Not sure
Go developers’ projects are not very large. For just over half of Go developers they consist of up to 100 files.
67%
54%
No
33%
46%
Yes
The question was only shown to those respondents who did not select “Go Modules” in response to the question “Which package managers do you use regularly?”
Compared to last year, fewer Go developers expressed their intention to migrate to Go modules in the next 12 months. This package manager is overwhelmingly popular, but its growth might be gradually reaching its limit. The number of developers who plan to stick with using other package managers is growing.
Go build
Makefile
Gradle
Bazel
Other
The question was only shown to those respondents who selected Go Modules in response to the question “Which package managers do you use regularly?”
Thank you for your time!
We hope you found our report useful. Share this report with your friends and colleagues.
If you have any questions or suggestions, please contact us at surveys@jetbrains.com.