大佬们好☀
我在使用 gopm 安装 goimports 时产生 error:golang.org/x/tools/cmd/goimports: fail to decode response JSON: invalid character '<' looking for beginning of value

以下为具体信息:
huangshuo@MyMac go % gopm get -g -v -d golang.org/x/tools/cmd/goimports
[GOPM] 04-29 17:10:12 [ INFO] App Version: 0.8.8.0307 Beta
[GOPM] 04-29 17:10:12 [ INFO] Local repository path: /Users/huangshuo/.gopm/repos
[GOPM] 04-29 17:10:12 [ INFO] Indicated GOPATH: /Users/huangshuo/go
[GOPM] 04-29 17:10:12 [ INFO] Downloading package: golang.org/x/tools/cmd/goimports@branch:
[GOPM] 04-29 17:10:16 [ INFO] 0 package(s) downloaded, 1 failed
[GOPM] 04-29 17:10:16 [ERROR] golang.org/x/tools/cmd/goimports: fail to decode response JSON: invalid character '<' looking for beginning of value

请问有遇到类似问题的吗。


↙↙↙阅读原文可查看相关链接,并与作者交流