generator

package
v0.8.83 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 6 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
	GenerateRandomCode(*vcgen.Generator) string
}

type SimpleGenerator

type SimpleGenerator struct {
}

func (*SimpleGenerator) GenerateRandomCode added in v0.8.64

func (g *SimpleGenerator) GenerateRandomCode(generator *vcgen.Generator) string

func (*SimpleGenerator) GenerateRandomRangeNumber

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

func (*SimpleGenerator) GenerateSha256Hash

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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