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

前端 未结 7 917
清酒与你
清酒与你 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条回答
  •  佛祖请我去吃肉
    2021-01-31 08:52

    I have the exact same problem, running this command solves it:

    go get -u -v github.com/mattn/go-sqlite3

    Another tip: http://kokizzu.blogspot.co.id/2016/06/solution-for-golang-slow-compile.html

提交回复
热议问题