要安装缺少的软件包,请点击软件包声明,按 &shortcut:ShowIntentionActions; ,然后选择 go get -t <package_name>

Use intention actions to go get a package