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

Aberta
#2 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
go
Domínio
cli, tooling

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Go
Estrelas
0
Forks
3
Merge médio
6h 20min
PRs com merge (30d)
3

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de GillMacedo/godebugdiff

Todas as issues de GillMacedo/godebugdiff

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.