uuidpkg

package
v0.0.0-...-eb9f531 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertUUIDToStrArray

func ConvertUUIDToStrArray(uuids []uuid.UUID) []string

ConvertUUIDToStrArray returns a slice of uuids for given slive of strings

func Difference

func Difference(a, b []uuid.UUID) []uuid.UUID

Difference returns difference between two slices of uuids

func Equal

func Equal(a, b []uuid.UUID) bool

Equal compares two uuid slices and returns true if equal

func GetUUIDFromString

func GetUUIDFromString(id string) (uuid.UUID, twirp.Error)

GetUUIDFromString returns id as string and returns error if not a valid uuid

func RemoveDuplicates

func RemoveDuplicates(elements []uuid.UUID) []uuid.UUID

RemoveDuplicates returns slices of uuid without duplicates

Types

This section is empty.

Jump to

Keyboard shortcuts

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