claudeandClaude Sonnet 5 e65d7d66c1 add Collect: run every validator and join all errors
Collect is the all-errors-at-once counterpart to All. All still stops at
the first failure (unchanged); Collect runs every function and returns the
failures joined with errors.Join, which errors.Is still matches element by
element. Kept as a separate function rather than a flag on All so All's
signature and behaviour don't change.

Closes #5

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 13:47:38 +01:00
2024-07-19 14:11:34 +01:00
2024-07-19 14:11:53 +01:00
2024-07-19 14:11:53 +01:00
2023-11-19 20:42:48 +00:00
2026-07-05 23:38:45 +01:00
2024-07-19 14:11:53 +01:00
2024-07-19 14:11:53 +01:00
2024-07-11 17:33:18 +01:00
2024-07-19 14:11:53 +01:00
2024-07-19 14:29:46 +01:00
2024-07-19 14:11:53 +01:00
2024-07-19 14:11:53 +01:00
2024-07-19 14:11:53 +01:00

Go Validate

A suite of straightforward validation functions. You put something in, you get back nil or an error.

License

See LICENSE.md

S
Description
No description provided
Readme
95 KiB
Languages
Go 100%