random

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 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)

Types

type IRandomStringGenerator

type IRandomStringGenerator interface {
	String(length int) string
}

type RandomStringGenerator

type RandomStringGenerator struct{}

func NewRandomStringGenerator

func NewRandomStringGenerator() *RandomStringGenerator

func (*RandomStringGenerator) String

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