Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the configuration of GoLand

Shulou Source: shulou.com Published: 2022-06-03 06:21:16 11月16日 Update

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!

Tags: Configuration project content newline character step learning practical deeper interest command practicality practical easy to operate method more friends root directory coding website channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno macOS Docker MySQL Huawei