在MacOS上,brew upgrad-ed将golang升级到1.14版。能够运行单元测试,但调试失败的消息
# errors
compile: version "go1.12.13" does not match go tool version "go1.14.2"
# unicode/utf16
compile: version "go1.12.13" does not match go tool version "go1.14.2"
# unicode/utf8
compile: version "go1.12.13" does not match go tool version "go1.14.2"
# internal/race
compile: version "go1.12.13" does not match go tool version "go1.14.2"
# container/list
....go env输出显示go版本为1.14.2
发布于 2020-05-18 08:08:23
已修复。在VSCode用户设置中有一个陈旧的go bin引用。
https://stackoverflow.com/questions/61864256
复制相似问题