Implement Go 1.22 Features #31

Closed
opened 2024-02-12 16:03:20 +01:00 by bendodroid · 1 comment
Member

Especially the new for loops [0] and http ServeMux changes[1] should be evaluated.
The http changes might make the custom method check obsolete.

[0] https://go.dev/wiki/LoopvarExperiment
[1] https://go.dev/doc/go1.22#enhanced_routing_patterns

Especially the new for loops [0] and http ServeMux changes[1] should be evaluated. The http changes might make the custom method check obsolete. [0] https://go.dev/wiki/LoopvarExperiment [1] https://go.dev/doc/go1.22#enhanced_routing_patterns
bendodroid added the
cat:refactoring
is:idea
labels 2024-02-12 16:03:20 +01:00
Author
Member

The for loop change doesn't affect us I think?
Decided against rewriting the sensor endpoints with wildcards, would need an awful lot of manual handling for the optional parts and the current system is generic enough imo.

The other matching improvements were implemented in 74a8db7d2b.

The for loop change doesn't affect us I think? Decided against rewriting the sensor endpoints with wildcards, would need an awful lot of manual handling for the optional parts and the current system is generic enough imo. The other matching improvements were implemented in 74a8db7d2b.
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: CCCHH/spaceapid#31
No description provided.