Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 main

import (
"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.