utils

package
v2.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LockKeyPrefix = "machinery_lock_"
)

Variables

View Source
var (
	ErrNoMatchType     = errors.New("no match type")
	ErrNoPointer       = errors.New("must be interface")
	ErrInvalidArgument = errors.New("invalid arguments")
)

Functions

func DeepClone

func DeepClone(v interface{}) interface{}

func DeepCopy

func DeepCopy(dst, src interface{}) error

func GetLockName

func GetLockName(name, spec string) string

func GetPureUUID

func GetPureUUID() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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