• 【记录一个问题】golangci-lint.exe中,盘符大写就会执行出错


    golangci-lint.exe版本为1.31.0
    执行:golangci-lint.exe run d:sourcegithub.comahfuzhanggo_xxx_serversrccgi 正常
    执行:golangci-lint.exe run D:sourcegithub.comahfuzhanggo_xxx_serversrccgi 出错
    错误信息:

    level=error msg="[linters context] typechecking error: go: directory . outside available modules"
    level=warning msg="[runner] Can't run linter goanalysis_metalinter: S1011: failed prerequisites: [(inspect@command-line-arguments, isgenerated@command-line-arguments): analysis skipped: errors in package: [-: go: directory . outside available modules]]"
    level=warning msg="[runner] Can't run linter unused: buildir: analysis skipped: errors in package: [-: go: directory . outside available modules]"
    level=error msg="Running error: buildir: analysis skipped: errors in package: [-: go: directory . outside available modules]"
    

    真是一个神坑!
    还没办法集成到goland中,因为 $FileDir$ 变量的盘符就是大写!

  • 相关阅读:
    APP测试
    Pycharm+Rf框架的自动化
    Robot Framework框架做UI自动化测试的介绍
    python-元组
    python-list一些用法
    [Python]之列表list
    接口测试用例(安全测试)
    cookie与session机制
    接口测试与网络通讯原理
    简单常用的SQL命令
  • 原文地址:https://www.cnblogs.com/ahfuzhang/p/13827261.html
Copyright © 2020-2023  润新知