[GH-ISSUE #57] Suggest lowering the golang version statement in your project #28

Closed
opened 2026-02-28 01:20:35 +03:00 by kerem · 0 comments
Owner

Originally created by @sharelinux on GitHub (Nov 27, 2024).
Original GitHub issue: https://github.com/tufanbarisyildirim/gonginx/issues/57

It is recommended to lower the golang version declaration in your project, as defined here in go.mod.

This project uses golang 1.23.3, which was released in August 2024 and is too new to be tested and found that this project does not reference any third party packages or system libraries that need to be upgraded to 1.23.3

If a large project uses this as a base package, it is too risky to upgrade golang to the latest version 1.23.3 directly after referencing this project.

image

After testing, we found that modifying the go.mod version in this project such as: go 1.21, and test all the unit tests are no exception. Recommended to use golang 1.21.0 version, this version also supports toolchain, in order to follow up on the dependency package management upgrade is also supported.

As a base library, upgrading the golang version of this needs to be done very carefully. I hope this suggestion will be adopted.

Fix I'll also mention a PR and hopefully take that comment on board.

Originally created by @sharelinux on GitHub (Nov 27, 2024). Original GitHub issue: https://github.com/tufanbarisyildirim/gonginx/issues/57 It is recommended to lower the golang version declaration in your project, as defined here in go.mod. This project uses golang 1.23.3, which was released in August 2024 and is too new to be tested and found that this project does not reference any third party packages or system libraries that need to be upgraded to 1.23.3 If a large project uses this as a base package, it is too risky to upgrade golang to the latest version 1.23.3 directly after referencing this project. ![image](https://github.com/user-attachments/assets/9020f845-700d-48d2-8008-64e01075393b) After testing, we found that modifying the go.mod version in this project such as: go 1.21, and test all the unit tests are no exception. Recommended to use golang 1.21.0 version, this version also supports toolchain, in order to follow up on the dependency package management upgrade is also supported. As a base library, upgrading the golang version of this needs to be done very carefully. I hope this suggestion will be adopted. Fix I'll also mention a PR and hopefully take that comment on board.
kerem closed this issue 2026-02-28 01:20:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gonginx#28
No description provided.