gorilla / mux

Package gorilla/mux is a powerful HTTP router and URL matcher for building Go web servers with 🦍
https://gorilla.github.io
BSD 3-Clause "New" or "Revised" License
20.92k stars 1.85k forks source link

Update example_route_test.go #745

Open GocaMaric opened 11 months ago

GocaMaric commented 11 months ago

What type of PR is this? (check all applicable)

Description

Related Tickets & Documents

Added/updated tests?

Run verifications and test

GocaMaric commented 11 months ago

Refactored the existing codebase to enhance readability and usability. Introduced meaningful variable names, improved function organization, and added comments for better documentation. The restructuring aims to make the codebase more maintainable and user-friendly, facilitating future development and collaboration.

AlexVulaj commented 11 months ago

Hey @GocaMaric , thanks for the contribution!

I don't think we need to bother checking for/verifying errors here since these are just example tests and those errors won't ever get triggered.