Bash? Profile to take effect.Ĭheck go env to see if the environment variable is set successfully $ go env ![]() Mac The environment variable of environment is set at vim ~/.bash_profile,Add at the end of the file export GOROOT="/usr/local/Cellar/go/1.12.7/libexec"Įxport PATH="$/bin"Īfter setting, execute source ~ /. GOPATH: Workspace directory (The directory cannot be associated with Go There are three subdirectories under this directory: src,bin,pkg) Configure the Golang environment variable Open source programming language to build simple/reliable/efficient software # Check whether the installation is successful ![]() This article introduces how to use visual studio code to build golang development environment and debug environment on Mac platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |