개발 환경 구축
Last updated
Last updated
vi ~/.zshrc
export GOPATH=$(go env GOPATH)
export PATH=$(go env GOPATH)/bin:$PATH"gopls": {
"experimentalWorkspaceModule": true
},
"go.toolsManagement.autoUpdate": true,package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}go mod init helloworld
go mod tidy
go build
./helloworld