GoLand Plugins to Install
- Make sure to install the Gradle plugin in GoLand in advance.
- Install JDK 23 or higher and set the Gradle JVM to JDK 23.
- Recommended GoLand plugins to install:
.env files support PostCSS Stylus Tailwind CSS Vite Vue.js
Using GoLand to Open the gower-work Project
- When opening
gower-workwith GoLand for the first time, a prompt will appear sayingFound Gradle 'gower-work' build script. ClickLoad Gradle projectto initialize the Gradle build system. - Find
Settings/GO/GOPATH/Project GOPATHand add the absolute path of thegower-workdirectory.- This ensures that when you run
go installwithin the project, the binary will be automatically installed in thebindirectory. - The
bindirectory under the project will also be added to the environment variables of the built-in terminal, making it easier to execute commands.
- This ensures that when you run
If you encounter an error saying
go listcannot find thego.modfile, you can ignore and close the prompt.