uuid

package
v0.0.0-...-8aeb8a1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHash

func GetHash(m map[string]interface{}) string

GetHash returns GetKeysHash result with keys from m

func GetKeysHash

func GetKeysHash(m map[string]interface{}, keys []string) string

GetKeysHash returns md5 hashsum of concatenated map values (sort keys before)

func GetKeysUnhashed

func GetKeysUnhashed(m map[string]interface{}, keys []string) string

GetKeysUnhashed returns keys values joined by '_'

func InitMock

func InitMock()

InitMock initializes mock flag => New() func will return mock value everytime

func New

func New() string

New returns uuid v4 string or the mocked value

func NewLettersNumbers

func NewLettersNumbers() string

NewLettersNumbers returns uuid without "-"

Types

This section is empty.

Jump to

Keyboard shortcuts

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