What is the configuration of GoLand
This article mainly explains "what is the configuration of GoLand". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what is the configuration of GoLand?"
1. Configure GOPROXY
two。 Configure go fmt, configure goimports
3. Create a new go project and uncheck Index entire GOPATH.
4. After you create a new project, execute go mod init projectName on the cmd command line of the project root
Go mod init projectName
5. Step 3 and step 4 can be omitted. When creating a new project, select Go modules directly.
6. Configure newline characters, using Unix newline characters
7. Configure coding as UTF-8
At this point, I believe you have a deeper understanding of "what is the configuration of GoLand?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!