1
0
This commit is contained in:
konrad
2018-07-21 15:45:46 +02:00
committed by kolaente
parent 0487889963
commit 7e0965ed91
3 changed files with 32 additions and 10 deletions

7
docs/parambinder.md Normal file
View 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.