DEV Community

Discussion on: 📖 Go Fiber by Examples: Delving into built-in functions

Collapse
 
bitecode profile image
BC

we cannot use multiple wildcards (*) in the same endpoint at once.

This seems not accurate, according to the official doc: docs.gofiber.io/guide/routing#para...
You can put multiple * in the endpoint, and when get the parameter, you can use c.Params("*1") and c.Params("*2") respondingly.

Collapse
 
koddr profile image
Vic Shóstak

Hi,

The article was written when it was not yet available. Corrected it, thank you!