Open thinkerou opened 8 months ago
I recommend adjusting the default branch to 1.x
and 2.x
, with 1.x
being the default branch until 2.x
becomes stable.
Updates to the 1.x
version can be merged into the 2.x
branch, allowing for parallel maintenance of both branches. Of course, we can also set an end-of-maintenance date for 1.x
to facilitate the progression of 2.x
, and even 3.x
.
It seems to me that the future development potential of gin will continue to grow.
I look forward to gin developing even better.
Regarding the go mod section, I suggest the following:
Instead of adding a v2 directory on top of the 1.x version.
Regarding the go mod section, I suggest the following:
- 1.x: github.com/gin-gonic/gin
- 2.x: github.com/gin-gonic/gin/v2
Instead of adding a v2 directory on top of the 1.x version.
yes
based on https://github.com/golang/go/discussions/63397 (encoding/json/v2) and https://github.com/gin-gonic/gin/pull/3391, we uses json/v2, not support third json but open interface and middleware.