Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microwaves/randomizer
Random stuff generator.
https://github.com/microwaves/randomizer
go random-generation
Last synced: 13 days ago
JSON representation
Random stuff generator.
- Host: GitHub
- URL: https://github.com/microwaves/randomizer
- Owner: microwaves
- License: bsd-3-clause
- Created: 2017-09-11T14:49:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-22T12:46:45.000Z (about 7 years ago)
- Last Synced: 2024-06-20T13:39:28.696Z (5 months ago)
- Topics: go, random-generation
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Randomizer
Randomizer generates random stuff. To use it, install the package:
[![Build Status](https://travis-ci.org/microwaves/randomizer.svg?branch=master)](https://travis-ci.org/microwaves/randomizer)
```
$ go get [-u] vvoid.pw/randomizer
```Then, import on your code:
```golang
package mainimport (
"fmt"
"vvoid.pw/randomizer"
)func main() {
// random strings
// n is the amount of chars for the output
n := 10
fmt.Println(randomizer.GenerateRandomString(n))// random and cute UUIDs based on /dev/urandom
fmt.Println(randomizer.GenerateUUID())
}
```## Author
Stephano Zanzin
## License
Please, refer to the [LICENSE](LICENSE) file.