func randomId() (string, error) {
	b, err := randomBytesMod(idLen, byte(len(idChars)))
	if err != nil {
		return "", err
	}
	for i, c := range b {
		b[i] = idChars[c]
	}
	return string(b), nil
}
// randomId returns a new random id string.
randomId returns a new random id string.
// randomId returns a new random id string .
func randomId() (string, error) {
	b, err := randomBytesMod(idLen, byte(len(idChars)))
	if err != nil {
		return "", err
	}
	for i, c := range b {
		b[i] = idChars[c]
	}
	return string(b), nil
}
func randomId ( ) ( string , error ) { b , err := randomBytesMod ( idLen , byte ( len ( idChars ) ) ) if err != nil { return " " , err } for i , c := range b { b [ i ] = idChars [ c ] } return string ( b ) , nil }
randomId returns a new random id string.
randomId returns a new random id string .