Help us shape the future of Go! Take the 2026 Go Developer Survey

generator

package
v1.3.117 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IGenerator added in v0.8.78

type IGenerator interface {
	GenerateRandomRangeNumber(int64, int64) int64
	GenerateSha256Hash(string) string
	RandomPasswordGenerator(int) string
	RandomPINCodeGenerator(int) string
}

type SimpleGenerator

type SimpleGenerator struct {
}

func (*SimpleGenerator) GenerateRandomRangeNumber

func (g *SimpleGenerator) GenerateRandomRangeNumber(min, max int64) int64

func (*SimpleGenerator) GenerateSha256Hash

func (g *SimpleGenerator) GenerateSha256Hash(input string) string

func (*SimpleGenerator) RandomPINCodeGenerator added in v0.9.14

func (g *SimpleGenerator) RandomPINCodeGenerator(codeLength int) string

func (*SimpleGenerator) RandomPasswordGenerator added in v0.9.14

func (g *SimpleGenerator) RandomPasswordGenerator(passwordLength int) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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