README ¶ xrand xrand provides helpers for generating useful random values. Install go get oss.terrastruct.com/xrand Usage // A random 5-letter string with no underscores randomString := xrand.String(5, []rune{rune('_')}) Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ Package xrand provides helpers for generating useful random values. Index ¶ func Base64(n int) string func Bool() bool func String(n int, exclude []rune) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Base64 ¶ func Base64(n int) string func Bool ¶ func Bool() bool func String ¶ func String(n int, exclude []rune) string Types ¶ This section is empty. Source Files ¶ View all Source files xrand.go Click to show internal directories. Click to hide internal directories.