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

Abierto
#2 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
cli, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Go
Estrellas
0
Forks
3
Merge medio
6 h 20 min
PR fusionados (30 d)
3

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GillMacedo/godebugdiff

Todos los issues de GillMacedo/godebugdiff

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.