generators

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 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 IDGenerator

type IDGenerator interface {
	String() string
	Stringn(length int) string
}

IDGenerator is implemented by pseudorandom generator values that output strings safe enough to be used within a single dot file

func NewRandTimeIDGenerator

func NewRandTimeIDGenerator(length int) IDGenerator

NewRandTimeIDGenerator returns a new instance of randTimeIDGenerator

Jump to

Keyboard shortcuts

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