asaskevich / govalidator

[Go] Package of validators and sanitizers for strings, numerics, slices and structs
MIT License
6.04k stars 555 forks source link

Switched arguments in ValidateMap in README.MD #360

Closed martinkunc closed 4 years ago

martinkunc commented 4 years ago

Hi, is it possible that arguments in example

govalidator.ValidateMap(mapTemplate, inputMap)

are actually reversed, shouldn't the first one be the inputMap ? It took me some time to find out..