GoLand的各種報錯
報錯1:Main file has non-main package or doesn’t contain main function
Error: Run after build is not possible Main file has non-main package or doesn't contain main function
報錯2:goland invalid vcs root mapping
設置下Project GOPATH就可以了
Error: Run after build is not possible Main file has non-main package or doesn't contain main function
設置下Project GOPATH就可以了