Compile and run Go code using WSL 2 and GoLand
Today, I'm happy to introduce our latest feature to you to use Windows Subsystem for Linux version 2 (WSL 2, or simply WSL) to run or test Go applications seamlessly. This feature is called Run Targets and supports WSL 2, Docker, and SSH remotes. If you'd like to learn more about these, the overview article of this feature, explaining it in more detail, should come in handy. In this article, I'll focus on the WSL 2 side of this feature. If you wish to use other targets, you can check the article covering the Docker target. If you'd prefer a video version of this article, then please head t
How to use Docker to compile and run Go code from GoLand
Up until now, when you wanted to test or run your shiny new code, you had only the local machine to do so. Many of our users have told us that they'd prefer to use Docker to run their code since that's where they will ultimately test, build, and deploy the code with their CI/CD pipeline. Today I'm happy to introduce to you our latest feature that allows you to seamlessly use Docker containers for your workflows from the comfort of your IDE. We call this feature "Run targets", and it doesn't extend to Docker support only. We currently support Docker, WSL 2, and SSH remotes. You may
What Are Run Targets & How To Run Code Anywhere
Previously, when you were using GoLand, you could test and run your code only on the same machine you had the IDE installed on. You could use the FTP/SFTP Connectivity (ex. Remote Hosts Access) plugin and the Settings/Preferences | Tools | External Tools feature or the built-in Docker plugin to achieve some sort of workflow. However, this was not convenient to use and did not have the integration level that our users expect when using our tools. That is why our team embarked on a journey to provide a better experience for these kinds of workflows. And that's how the Run targets feature came
Video Recording and Q&A of What’s New in GoLand 2021.1 Webinar
Meet GoLand 2021.1!
Webinar: What’s New in GoLand 2021.1
GoLand 2021.1 is coming soon with lots of improvements under the hood. Build and run your programs remotely via Docker, SSH, and WSL 2, use newly supported features from Go 1.16, including //go:embed, quickly generate code from JSON, handle errors with ease using new quick-fixes, and more! To see the new features in action, join us at the “What’s New in GoLand 2021.1” webinar on April 15 at 16:00 (CEST). REGISTER FOR THE WEBINAR We'll cover all the important areas such as: New Go-specific features Web development improvements Database support Docker and Kubernetes support Platfor
GoLand 2021.1 Beta 3 Is Out!
We’ve released another Beta for GoLand 2021.1! You can get the build via the Toolbox App, download it from our website, or use a snap package (for Ubuntu). You can also update using GoLand – just select Automatically check updates for Early Access Program in Settings/Preferences | Appearance & Behavior | System Settings | Updates. Download GoLand 2021.1 Beta 3 GO-10734 — go test runs the test within its working directory, as expected. GO-7216 — The Cannot convert nil to type int code inspection will warn you about irrelevant nil usages inside map values, struct literals, and composite li
GoLand 2021.1 Reaches Beta!
The release of GoLand 2021.1 is just around the corner, and today we can announce that GoLand 2021.1 Beta is ready for you to try. The Beta version is quite stable in comparison to the Early Access Program builds, but please keep in mind that there may still be a couple of rough edges here and there. Beta builds are usually the last builds in the EAP cycle that do not require a subscription to use. GoLand 2021.1 allows you to build and run your program remotely via Docker, SSH, and WSL 2. You will find the new features from Go 1.16 supported, including //go:embed, code generation from JSO
GoLand 2021.1 EAP 5 has a New Postfix Completion, builtin goimports -local support, better Go 1.16 support and more
We have a new GoLand 2021.1 EAP release to share with you. It has a lot of exciting new features for you to try out, including: A new "varCheckError" Postfix Completion. Formatter support for grouping imports the way "goimports -local" does. Go 1.16 support New inspection for asn1.Unmarshal usage. Fixed support for GOPATH based projects. There are, of course, plenty of other fixes and improvements under the hood. Download GoLand 2021.1 EAP #5 You can get the build via the Toolbox App, download it from our website, or use a snap package (for Ubuntu). Or from inside GoLand, select
GoLand 2021.1 EAP #4: Handle Errors With Ease, Generate All Getters and Setters at Once, and More
Early access build #4 for GoLand 2021.1 is here with lots of new quick-fixes for working with unhandled errors. Remember that you don’t need to wait for the official EAP announcements, as we regularly release nightly builds based on the latest development code. These nightly builds are only available via the Toolbox App. You can get this EAP build through the Toolbox App, by downloading it from the website, or by using a snap package (for Ubuntu). Or you can update from right inside GoLand by selecting Automatically check updates for Early Access Program in Preferences / Settings | Appearanc
GoLand 2021.1 EAP 3 Introduces go:embed Support, Run Targets, Extract Type Refactoring, and More
It's a new week, and we have a new GoLand 2021.1 EAP release to share with you. It has a lot of new and exciting features to try out. What have we been up to? Support for //go:embed is now available for Go 1.16 or later (GO-10062) Initial Run Targets support Docker (GO-3322) SSH WSL2 (Windows Subsystem for Linux) (GO-4377) Extract Type Refactoring (GO-17) Create Type quickfix generates missing fields (GO-7615) Other noteworthy changes JSON Lines support Quick access to recent projects on Windows Better tooltips display Improved accessibility Visual separators be
GoLand 2021.1 Early Access Program Begins!
The GoLand 2021.1 Early Access Program has now started! You can find a detailed description of what to expect from the EAP in our roadmap for 2021.1. You can get the first EAP build via the Toolbox App, download it from our website, or use a snap package (for Ubuntu). Or from inside GoLand, select Automatically check updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates. Download GoLand 2021.1 EAP #1 What the Early Access Program is: EAP builds let you try out the latest features and enhancements in GoLand while they are still wo