You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

346 B

编译时出现错误

go build runtime/cgo: copying /Users/lidong/Library/Caches/go-build/9a/9a465fcfa6111a6399875422b9b667e976a81c8007ceb43890666aacd844e82c-d: open /usr/local/go/pkg/darwin_amd64/runtime/cgo.a: permission denied

查看当前用户

sudo chown -R

授权

sudo chown -R lidong /usr/local/go/pkg/darwin_amd64/