randomizer

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Randomizer

type Randomizer struct {
	// contains filtered or unexported fields
}

Randomizer struct

func New

func New() Randomizer

New create new Randomizer instance

func (*Randomizer) Get

func (rm *Randomizer) Get(length int) string

Get returns random string with given length

func (*Randomizer) SetCharset

func (rm *Randomizer) SetCharset(charset string)

SetCharset sets charset to use to randomize string

Jump to

Keyboard shortcuts

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