cumt21g
V2EX  ›  JetBrains

Goland 打开在 WSL 里的带 go.work 的项目, 总是会飘红

  •  
  •   cumt21g · Feb 26 · 1323 views
    This topic created in 136 days ago, the information mentioned may be changed or developed.

    不知道为啥同事的苹果电脑就没有这个问题, 试了很多办法好像都不行

    • 用苹果电脑的同事说在命令行执行go work vendor就可以了,我不行
    • 删除 go.work 和 go.work.sum, 然后有部分代码还是不行
    • Repaire IDE 试了也不行
    cumt21g
        1
    cumt21g  
    OP
       Feb 26
    Golang 自带的 package 没问题, 只要是第三发的都报"Cannot resolve symbol 'xxxx'"
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4394 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 05:33 · PVG 13:33 · LAX 22:33 · JFK 01:33
    ♥ Do have faith in what you're doing.