List godebug pins in go.mod that are already the default at the new version

未關閉
#2 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
55/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
go
領域
cli, tooling

研究方向

Start with the godebug lines in a go.mod, which you can read through go mod edit -json, and with the target toolchain's DefaultGODEBUG values that the CLI already queries. The issue doesn't name the file that holds this comparison, so find where the CLI parses go.mod and reads defaults. Add the check, the note listing already-default pins, an example module under examples/, and an integration test that asserts the listed pins. Done means the integration test passes and the example's output names the redundant pins.

由索引模型根據 Issue 內容生成。

描述

good first issue

When go.mod has a godebug line whose value equals the new default after the bump, it can be removed. Read the pins from go mod edit -json, compare them with the target DefaultGODEBUG, and add a note listing them. Add an example module in examples/ and an integration test.

主要語言
Go
星號
0
分支
3
平均合併
6 小時 20 分鐘
30 天內合併 PR
3

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

GillMacedo/godebugdiff 的其他 Issue

查看 GillMacedo/godebugdiff 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。