【语言学习】Go语言go build/install 区别
go build just compile the executable file and move it to the destination. go install do a little more. It moves the executable file to $GOPATH/bin if $GOBIN is set and cache all non-main packages which imported to $GOPATH/pkg. The cache will be used in the next compile if it not changed yet.

浙公网安备 33010602011771号