Just got into trouble when testing in a box where GOROOT != GOPATH because of this flag. It seems like it is no longer needed since Go 1.10 as per https://golang.org/doc/go1.10#build:
The old advice to add the -i flag for speed, as in go build -i or go test -i, is no longer necessary: builds run just as fast without -i.
Just got into trouble when testing in a box where GOROOT != GOPATH because of this flag. It seems like it is no longer needed since Go 1.10 as per https://golang.org/doc/go1.10#build: