Dean Karn
d07eb88fb0
Pr cleanup ( #767 )
...
* cleanup after merging PRs
* Add maintainer info +
4 years ago
Krzysztof Szafrański
fdbd8ba577
Fix typos
6 years ago
Aaron Lehmann
770163b1e1
Documentation fixes
...
This fixes a few documentation issues I noticed.
- Explain what Func is supposed to return.
- Remove change reference to ActualNamespace to mention StructNamespace
instead.
- Remove references to Validatable, which no longer exists.
- Fix godoc formatting.
- Delete extra text from ReportValidationErrors comment.
- Change ReportError interface definition so its arguments are named
consistently with what they do.
7 years ago
Dean Karn
0f6f568263
Add contextual validation support via context.Context ( #296 )
...
* Add contextual validation support via context.Context
Added:
- RegisterValidationCtx
- RegisterStructValidationCtx
- StructCtx
- StructFilteredCtx
- StructPartialCtx
- StructExceptCtx
- VarCtx
- VarWithValueCtx
7 years ago
Dean Karn
532878b008
initial translation/custom error code
8 years ago
joeybloggs
3e196d49c6
saving some bytes uint8 vs int
8 years ago
joeybloggs
b2c8f66e7b
why pass the Field names, they already belong to the namespaces...
8 years ago
joeybloggs
1714ba2b67
convert switch to if
8 years ago
joeybloggs
6765805f88
continuing perf optimizations
8 years ago
joeybloggs
dcdba454d7
some variable cleanup
8 years ago
joeybloggs
8d0fd80a80
removed creation of a couple stack variables and creation of errors
8 years ago
joeybloggs
8c60a612c5
code coverage back to 100% + some code cleanup
8 years ago
joeybloggs
3bf69e2bbd
converting tests
8 years ago
joeybloggs
7e731afde9
field name updates
8 years ago
joeybloggs
e0e1af6a61
working instance
8 years ago