2024-06-21 21:54:44 +01:00
|
|
|
# Go Random
|
|
|
|
|
|
|
|
|
|
Functions to create random values. That's about the size of it.
|
|
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
|
|
"github.com/annybs/go/random"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|
n := make([]bool, 10)
|
|
|
|
|
for i := range n {
|
|
|
|
|
fmt.Println(random.Str(4 + i))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
2024-07-19 15:38:37 +01:00
|
|
|
See [LICENSE.md](./LICENSE.md)
|