mirror of
https://github.com/jimeh/rands.git
synced 2026-02-19 11:26:38 +00:00
docs(readme): fix links to randsmust package
This commit is contained in:
@@ -76,7 +76,7 @@ n, err := rands.Int64(int64(9223372036854775807)) // => 8256935979116161233
|
|||||||
b, err := rands.Bytes(8) // => [0 220 137 243 135 204 34 63]
|
b, err := rands.Bytes(8) // => [0 220 137 243 135 204 34 63]
|
||||||
```
|
```
|
||||||
|
|
||||||
## [`randsmust`](https://pkg.go.dev/github.com/jimeh/rands/must) package
|
## [`randsmust`](https://pkg.go.dev/github.com/jimeh/rands/randsmust) package
|
||||||
|
|
||||||
`randsmust` is specifically intended as an alternative to `rands` for use in
|
`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.
|
tests. All functions return a single value, and panic in the event of an error.
|
||||||
@@ -123,7 +123,7 @@ b := randsmust.Bytes(8) // => [205 128 54 95 0 95 53 51]
|
|||||||
Please see the Go Reference for documentation and examples:
|
Please see the Go Reference for documentation and examples:
|
||||||
|
|
||||||
- [`rands`](https://pkg.go.dev/github.com/jimeh/rands)
|
- [`rands`](https://pkg.go.dev/github.com/jimeh/rands)
|
||||||
- [`randsmust`](https://pkg.go.dev/github.com/jimeh/rands/must)
|
- [`randsmust`](https://pkg.go.dev/github.com/jimeh/rands/randsmust)
|
||||||
|
|
||||||
## Benchmarks
|
## Benchmarks
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user