revel / cmd

Command line tools for Revel.
MIT License
62 stars 101 forks source link

Issue-219 Key line number mismatch. #220

Open dandare100 opened 2 years ago

dandare100 commented 2 years ago

Changed the default validation keys to be keyed by the first line line number of the "code" instead of the last. This is because the validation.go in revel expects it to be the first and the fields level validation messages were not showing.

Fixes https://github.com/revel/cmd/issues/219