golang 使用sqlite3编码慢问题

今天学习了下xorm。 build 的时候发现特别慢, build -x -v看了下,时间都花在编译github.com/mattn/go-sqlite3

看了下${GOPATH}/pkg/darwin_amd64/github.com/mattn 竟然没有.a文件。难怪难怪~~

解决

go install github.com/mattn/go-sqlite3

${GOPATH}/pkg/darwin_amd64/github.com/mattn下多出了go-sqlite3.a 。 现在再去build我的代码,世界终于又安静了~~

猜你喜欢

转载自my.oschina.net/tuxpy/blog/1630694
今日推荐