/randomizer

Random stuff generator.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Randomizer

Randomizer generates random stuff. To use it, install the package:

Build Status

$ go get [-u] vvoid.pw/randomizer

Then, import on your code:

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 sz@shitty.pizza

License

Please, refer to the LICENSE file.