“go build” became very slow after installing a new version of Go

前端 未结 7 1023
清酒与你
清酒与你 2021-01-31 08:35

After upgrading from Go 1.2.1 to 1.3 (Windows 7 64 bit) \"go build\" execution time has increased from around 4 to over 45 seconds. There were no other changes except the go ver

7条回答
  •  旧时难觅i
    2021-01-31 08:54

    If you try as all other said but still not work, I suggest removing the directory of $GOPATH such as :

    sudo rm -rf $GOPATH
    cd yourproject 
    go get -d
    go get -u -v github.com/mattn/go-sqlite3
    

提交回复
热议问题