Open pollyduan opened 1 year ago
https://stackoverflow.com/questions/65034019/how-to-add-regex-constraints-to-gin-frameworks-router Also, it was a duplicated question, you can learn other answers in the https://github.com/gin-gonic/gin/issues/229
Thx U for answer, but ...
Even I can implement it from http lib, Thank you, anyway.
The cost of route scheduling is so little compared to controller. Is it worth abandoning regular expression routing rules for a bit of performance?