![]() package mainįunc homeHandler(w http.ResponseWriter, r *http. ![]() In the dialog that opens, click Sign commits with GPG key and select the key you want to use from the list. In the Settings dialog ( Ctrl Alt 0S ), go to Version Control Git, and click the Configure GPG Key button. If you’d prefer a video version of this article, then please head to YouTube:įor this article, I’ll reuse most of the code that we’ve seen in the Docker tutorial – with the change that we are now checking for the WSL instead of a Docker environment. Start GoLand (or restart it to make sure it loads the changes youve made to your environment). If you wish to use other targets, you can check the article covering the Docker target. GoLand 2021.3 has native support for Go projects in WSL, the Inline Function refactoring, and support for remote development in Beta mode. In this article, I’ll focus on the WSL 2 side of this feature. First way, open PowerShell as Administrator and run: dism.exe /online. If you’d like to learn more about these, the overview article of this feature, explaining it in more detail, should come in handy. To install WSL, you need to enabling Windows Subsystem for Linux optional feature. ![]() We recommend using our GitHub Action for running golangci-lint in. Start GoLand (or restart it to make sure it loads the changes you've made to your environment). This feature is called Run Targets and supports WSL 2, Docker, and SSH remotes. Most installations of golangci-lint are performed for CI. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |