docs
This commit is contained in:
7
docs/parambinder.md
Normal file
7
docs/parambinder.md
Normal file
@ -0,0 +1,7 @@
|
||||
# How the binder works
|
||||
|
||||
The binder binds all values inside the url to their respective fields in a struct. Those fields need to have a tag
|
||||
"param" with the name of the url placeholder which must be the same as in routes.
|
||||
|
||||
Whenever one of the standard CRUD methods is invoked, this binder is called, which enables one handler method
|
||||
to handle all kinds of different urls with different parameters.
|
Reference in New Issue
Block a user