Open
Description
Do you have any example how to setup gin with v9 and modifiers/scrubbers?
Coming from other languages this seems like a nice way to handle it without writing a custom validator/processor for every user input. The only thing is, at least for me as a newish guy to golang, I have no clue how to integrate it with gin. The validator-upgrade.go is somewhat understandable, but I'm totally lost on how and where to hook into. Where does gin and the validator do the stuff and how do I inject mold.Transformer and actually execute it, prior to the validator (binding) run?
Can you give any hints or is there any help page I've missed?
Metadata
Metadata
Assignees
Labels
No labels