gin dynamic router.POST("api/v1/:type", apiAction)

gin static route router.POST("api/v1/home", apiHome) router.POST("api/v1/login", apiLogin)

I used a dynamic route to deal with all the apis, the project is no problem, I want to ask is, dynamic routing in addition to a bit of performance loss, concurrency problems?

Comment From: yashisrani

@biancheng347 I think dynamic routing is generally safe and does not cause concurrency issues, but it can show slightly performance loss & can increase complexity while dubugging and maintaining handlers.