记录 | go.mod file not found in current directory or any parent directory

go build 报错

go: go.mod file not found in current directory or any parent directory; see 'go help modules'

解决方案:

 go env -w GO111MODULE=auto 

相关推荐

  1. HSQL 记录

    2023-12-26 13:24:02       71 阅读
  2. bug 记录

    2023-12-26 13:24:02       54 阅读
  3. QT 记录

    2023-12-26 13:24:02       63 阅读
  4. QtConcurrent记录

    2023-12-26 13:24:02       61 阅读
  5. 学习记录————

    2023-12-26 13:24:02       66 阅读
  6. 记录 bpftrace】

    2023-12-26 13:24:02       67 阅读
  7. Vue<span style='color:red;'>记录</span>

    Vue记录

    2023-12-26 13:24:02      51 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-26 13:24:02       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-26 13:24:02       106 阅读
  3. 在Django里面运行非项目文件

    2023-12-26 13:24:02       87 阅读
  4. Python语言-面向对象

    2023-12-26 13:24:02       96 阅读

热门阅读

  1. Unity-GUID

    2023-12-26 13:24:02       55 阅读
  2. 【Windows编程】期末复习题1

    2023-12-26 13:24:02       56 阅读
  3. Mybatis Mapper XML文件-结果映射(Result Maps)

    2023-12-26 13:24:02       63 阅读
  4. Flink去重计数统计用户数

    2023-12-26 13:24:02       70 阅读
  5. @NotNull,@NotEmpty,@NotBlank区别

    2023-12-26 13:24:02       57 阅读
  6. QString转LPCWSTR

    2023-12-26 13:24:02       72 阅读
  7. Mac 修改报错Permission denied、chmod命令详细用法

    2023-12-26 13:24:02       60 阅读
  8. Google模拟面试【面试】

    2023-12-26 13:24:02       58 阅读