Commit Graph

4 Commits

Author SHA1 Message Date
22fe517baa feat(randsmust): add randsmust package
randsmust is specifically intended as an alternative to rands for use in
tests. All functions return a single value, and panic in the event of an
error. This makes them easy to use when building structs in test cases
that need random data.

Internally the package simply calls the equivalent function from the
rands package, and panics if a error is returned.
2021-12-17 11:03:32 +00:00
74dd8fb7e9 docs(examples): add error handling to examples 2021-12-17 01:48:41 +00:00
164ccc497a feat(error): export error variables 2021-12-16 20:15:17 +00:00
597fe535d3 feat(rands): initial implementation 2021-01-20 02:58:03 +00:00