aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-09-16 14:29:26 +0200
committerTaras Madan <tarasmadan@google.com>2024-09-30 10:00:18 +0000
commit179f40292f64debb6b3ea2fe5e950f62f5a05a18 (patch)
tree664326084a8dee3bbe8847cf8196fd0b9417dee4 /vendor/github.com
parentba29ff75d05fca62258d71ffc063e70f0d7b8b09 (diff)
pkg/validator: target value is not empty by default
The consistency make the code more predictable. We want all the values to be non-empty. If "empty" is an option - use validator.AnyOk(validator.EmptyStr(target), otherCheck(target)).
Diffstat (limited to 'vendor/github.com')
0 files changed, 0 insertions, 0 deletions