generator

package
v0.8.26 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	GenerateRandomRangeNumber(int64, int64) int64
	GenerateSha256Hash(string) string
	GenerateUUID() 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) GenerateUUID

func (g *SimpleGenerator) GenerateUUID() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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