alphanum

package
v1.8.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package alphanum implements functions for randomized alphanum content.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(p []byte) (n int, err error)

Read fills p with random alphanumeric characters and returns the number of read bytes and a potential error.

func ReadString

func ReadString(n int) string

ReadString returns a random string of alphanumeric characters and panics if crypto random reader returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL