Go
Share:
These questions were only shown to respondents who chose Go as one of their three primary programming languages.
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.
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?”
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.
The number of Go developers who use a private Go modules proxy has risen.
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.
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.
Go developers’ projects are not very large. For just over half of Go developers they consist of up to 100 files.
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.
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.