Tôi đang cố gắng cài đặt doozer như thế này:
$ goinstall github.com/ha/doozer
Tôi nhận được những lỗi này.
goinstall: os: go/build: package could not be found locally goinstall: fmt: go/build: package could not be found locally goinstall: io: go/build: package could not be found locally goinstall: reflect: go/build: package could not be found locally goinstall: math: go/build: package could not be found locally goinstall: rand: go/build: package could not be found locally goinstall: url: go/build: package could not be found locally goinstall: net: go/build: package could not be found locally goinstall: sync: go/build: package could not be found locally goinstall: runtime: go/build: package could not be found locally goinstall: strings: go/build: package could not be found locally goinstall: sort: go/build: package could not be found locally goinstall: strconv: go/build: package could not be found locally goinstall: bytes: go/build: package could not be found locally goinstall: log: go/build: package could not be found locally goinstall: encoding/binary: go/build: package could not be found locally
GOPATH
sẽ được đặt cho bạn trong Go 1.8 (2017). Xem câu trả lời của tôi dưới đây
goinstall
thực sự là tiền cổ xưa và đã không tồn tại từ năm 2012.