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

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli, tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
0
Fork
3
Merge medio
6h 20m
PR unite (30g)
3

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GillMacedo/godebugdiff

Tutte le issue di GillMacedo/godebugdiff

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.