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

前端 未结 7 1089
清酒与你
清酒与你 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:56

    You can build sqlite3 like this:

    cd ./vendor/github.com/mattn/go-sqlite3/
    go install
    

    After that your project will b built much faster.

提交回复
热议问题