現(xiàn)象是,golang,項目里用了sqlite,gogland里debug時極慢
另外run或debug時提示需要gcc,即使install了之后同樣提示需要gcc
發(fā)現(xiàn)gogland debug和run不同,加了 -a參數(shù)
go build -h
-a
force rebuilding of packages that are already up-to-date.
給gogland提issue后得知
It's an unfortunate side effect of GO-4249
go 1.9才有這問題
暫時先改下go源碼繞過一下問題,提高debug速度,等待后續(xù)go或者goland的修復