Discover Packages
github.com/mmihic/golib
src
pkg
randx
package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Nov 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package randx contains randomization functions.
String returns a string of length n, composed of random
characters from the provided alphabet. If the input
slice is nil, returns a random mixed case alphanumeric
string.
Rand can generate random values of various types.
New creates a new RNG around a given source.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.