randstring

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandString

func RandString(n int) string
Example
rand.Seed(42)
fmt.Println(RandString(10))
fmt.Println(RandString(42))
Output:

CBzlgwF4Xt
dzFemEMgBqNznwB199sND0jQ6KJ402CKj1s8Oquw5O

Types

This section is empty.

Jump to

Keyboard shortcuts

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