Go

These questions were only shown to the developers who chose Go as one of their three primary programming languages.

How do you use Go?

Work
Personal / side projects
Hobby
Other
63%28%8%1%

The majority of Go developers use it for work (63%). The percentage of developers who use Go professionally has been growing every year.

Do you use multiple versions of Go at the same time?

No
Yes
81%19%
71%

of Go developers develop microservices, making Go the second most popular language for this purpose, after Scala.

Do you edit multiple Go projects at the same time?

Yes
No
76%24%

Do you have a single global GOPATH or use one GOPATH per project?

Single global GOPATH
One GOPATH per project
74%26%

Which package managers do you use regularly?

82%12% 8% 7% 4% 2% 2% 1%Go ModulesdepgodepgovendorglidegomgpmGoop
All results

Which Go web frameworks do you use regularly?

41%11% 9% 3% 3% 1% 4%44%GinEchoBeegoRevelBuffaloMacaronOtherNone

Which Go router do you use regularly?

36%30% 8% 6% 2%gorilla / muxStandard librarygo-chi / chijulienschmidt / httproutegocraft / web
All results

Which testing frameworks do you use regularly?

44%19%12% 5% 4%built-in testingtestifygomockginkgogo-sqlmock
All results

What is the size of the codebase you are working with in the IDE or editor?

29%26%17%10% 5% 2% 3% 8%Fewer than 50 files51-100 files101-300 files301-1,000 files1,001-5,000 files5,001-10,000 filesMore than 10,000 filesNot sure

Do you put your Go modules project inside or outside the GOPATH?

Outside
Inside 
Other
56%43%1%

Developers are almost equally distributed between those who put Go modules inside the GOPATH and those who put them outside it, though a slight preference was expressed for putting them outside it.

Do you plan to migrate your projects to Go modules in the next 12 months?

Yes
No
51%49%

What types of software do you develop with Go?

36%31%26%24%20%14%12% 6%WebsitesUtilities (small apps for small tasks)IT InfrastructureLibraries / FrameworksSystem SoftwareDatabase / Data StorageProgramming ToolsBusiness Intelligence / Data Science / Machine Learning
All results

The three most common uses for Go appear to be websites, utilities, and IT infrastructure.

DevOps and Infrastructure development are some of the most popular uses for Go. Therefore, it comes as no surprise that 80% of Go developers are involved in these activities, with 36% of them considering it to be one of their key responsibilities, while only 57% of developers in general associate themselves with infrastructure development.

Go developers are intensive Docker users. 84% claim to use it, which is 20 percentage points higher than the percentage of Docker users among the general developer population.

Check out the DevOps page for more details.


Thank you for your time!

We hope you found our report useful. Share this report with your friends and colleagues.

Join JetBrains Tech Insights Lab

Take part in surveys and UX studies to make JetBrains products easier to use yet even more powerful. For participating in our research, you’ll also get the chance to earn rewards.

If you have any questions or suggestions, please contact us at surveys@jetbrains.com.

© 2000-2020 JetBrains s.r.o. All rights reserved.