random

package
v2.31.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UUID

func UUID() (id string, err error)

Types

type IRandomStringGenerator added in v2.16.4

type IRandomStringGenerator interface {
	String(length int) string
}

type RandomStringGenerator added in v2.16.4

type RandomStringGenerator struct{}

func NewRandomStringGenerator added in v2.16.4

func NewRandomStringGenerator() *RandomStringGenerator

func (*RandomStringGenerator) String added in v2.16.4

func (s *RandomStringGenerator) String(length int) string

String random string with n length

Directories

Path Synopsis
Package mock_random is a generated GoMock package.
Package mock_random is a generated GoMock package.

Jump to

Keyboard shortcuts

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