aboutcode-org / aboutcode-org/scancode-toolkit

Support directives in go.mod

未关闭
#3,492 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue new feature package-formats
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

## Short Description
We do not support all go.mod features such as replace directives in go.mod files and we should.
See:
- https://github.com/golang/gofrontend/tree/d04b024021bb7dbaa434a6d902bd12beb08e315f/libgo/go/golang.org/x/mod/modfile
- https://go.dev/ref/mod#go-mod-file
- and https://github.com/nexB/scancode-toolkit/blob/develop/src/packagedcode/go_mod.py

And an example see https://github.com/golang/tools/blob/9425c2e70961cb8c2a3b5764658fb70e03d194e4/gopls/go.mod and https://github.com/golang/tools/blob/9425c2e70961cb8c2a3b5764658fb70e03d194e4/go.mod

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。