在Ubuntu 16.04.3 LTS上運行go install出錯的問題

1.我在.go文件的當前目錄下面運行go install出現下面的錯誤: go install hello.go go install: no install location for .go files listed on command line (GOBIN not set) 此時設置了GOPATH宏,但是沒有GOBIN 解決方法: 將project的bin目錄設置爲GOBIN。 vim ~
相關文章
相關標籤/搜索