The cost of route scheduling is so little compared to controller. Is it worth abandoning regular expression routing rules for a bit of performance?
Comment From: Cookiery
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
Comment From: pollyduan
Thx U for answer, but ...
Even I can implement it from http lib, Thank you, anyway.