utils

package
v1.9.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: MPL-2.0 Imports: 6 Imported by: 35

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