Read the go line from go.work in workspace mode

Offen
#4 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

@ducnhan123-co arbeitet bereits daran.

Seit 02.11.2026.

  • #8 von @ducnhan123-co — offen

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
22/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
go
Bereich
cli

Rechercherichtung

The issue names no source files, so start by finding where the tool reads go.mod and where it prints the note about ignoring go.work, then see how the --work flag would route through the same comparison. Add an examples/ directory with a made-up two-module workspace and an integration test that compares two go.work go lines. Pull request #8 is already open against this issue, so check its state and discussion before starting any overlapping work.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

good first issue

In workspace mode the go line in go.work sets GODEBUG defaults. Today the tool ignores go.work and prints a note. Add a --work flag that copies go.work instead of go.mod and compares at two go.work go lines. Include a made-up two-module workspace in examples/ and an integration test.

Vorherrschende Sprache
Go
Sterne
0
Forks
3
Ø Merge
6 Std. 20 Min.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus GillMacedo/godebugdiff

Alle Issues in GillMacedo/godebugdiff

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.