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

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli, tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go
Star
0
Fork
3
Merge trung bình
6 giờ 20 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GillMacedo/godebugdiff

Tất cả issue của GillMacedo/godebugdiff

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.