Go 1.22 router upgrade #37
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: nonshy/website#37
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In Go 1.22 the standard library HTTP router supports path parameters and method names.
This ticket tracks the changes to the code to upgrade it to use the new features.
Renamed Routes
Some routes are moved to better names to utilize the path parameters nicely.
The old routes will redirect to the new ones.
Methods Added
Endpoint methods have been specified for the following endpoints (which, in their controller functions, did not mix GET and POST logic together). All endpoints need to be tested to ensure not broken: