Go failing - expected 'package', found 'EOF'

前端 未结 10 2139
感情败类
感情败类 2021-02-02 07:33

I\'ve been having a hard time trying to execute a simple golang program in a virtual machine powered by vagrant. These are the relevant fields of my go env:

10条回答
  •  暖寄归人
    2021-02-02 08:39

    With gopls (v0.4.0 at the time of writing, so pretty unstable!) and vscode doing cmd+shift+P > Go: Restart language server worked for me.

提交回复
热议问题