• GoLand operation of setting project gopath


    Open someone else’s go project with GoLand. Golan cannot find package “server / common / config” in any of: This is because the gopath of the project is not set Setting method Supplement: Golan creates a go project and configures the current project gopath 1. New project uncheck index entity gopath Gopath is the project […]

  • Analysis of the relationship among root, gopath and go modules


    1、 Introduction to root After installing the golang language, the so-called installation path is actually yoursGOROOTPath, that is to sayGOROOTThe location of the built-in Library in the golang language. Usually, after you install it, the environment variables of your computer will be setGOROOTPaths, when you develop golang programs, when youimportThere is no need to install […]