dpi74187 2019-09-21 23:08
浏览 366

Go 1.13具有Go Tools版本12.9

I created the dir TEST-13 under GOPATH/src

I installed hello.go and hello_test.go (the specified test code files)

Is there a reason that in version 1.13 running go mod init produces the following go.mod:

module TEST-13

go 1.12

Running go tet in the directory gets errors - See example:

compile: version "go1.13" does not match go tool version "go1.12.9"

This message produces 7 similar messages for various library modules

How do I fix this - or is it a release error? - or did I mess up the install?

  • 写回答

1条回答 默认 最新

  • dongyan5239 2019-09-24 23:38
    关注

    I have solved the problem by removing all traces of previous go installations and reinstalling.

    Thank you for you answers

    评论

报告相同问题?

悬赏问题

  • ¥15 对于这个复杂问题的解释说明
  • ¥50 三种调度算法报错 采用的你的方案
  • ¥15 关于#python#的问题,请各位专家解答!
  • ¥200 询问:python实现大地主题正反算的程序设计,有偿
  • ¥15 smptlib使用465端口发送邮件失败
  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败