Generate random values in Go

Aneurin Barker Snook cb4c1a6856 add test workflow 10 月之前
.github cb4c1a6856 add test workflow 10 月之前
.gitignore 4c2e68be29 ensure go.sum not committed 10 月之前
LICENSE.md 7ff3eec250 duplicate license to each package 11 月之前
README.md 970aa6c667 fix link to license 10 月之前
go.mod cd9c127cb0 rename module 10 月之前
random.go f910ac85cb add simple random package 1 年之前

README.md

Go Random

Functions to create random values. That's about the size of it.

Example

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

See LICENSE.md