ubuntu下安装delve时报错"Error executing go [list -mod=vendor ./...]"如何处理?

  1. 详细错误报告如下:
    Jello@localhost:~/.go/src/github.com/go-delve/delve$ make install
    Error executing go [list -mod=vendor ./...]
    2022/02/22 22:22:02 exit status 2
    exit status 1
    Makefile:10: recipe for target 'install' failed
    make: *** [install] Error 1
  2. 如何处理?
    升级go的版本
原文地址:https://www.cnblogs.com/dakewei/p/13193621.html