lib

package
v0.0.0-...-21ef4fc Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepCopy

func DeepCopy(src interface{}) interface{}

DeepCopy recursively copies the given struct, slices, arrays, maps and pointers

func DeepCopySerialized

func DeepCopySerialized(src interface{}) interface{}

DeepCopySerialized performs a deep copy using encoding/gob

Types

type DeepCopyable

type DeepCopyable interface {
	DeepCopy() DeepCopyable
}

type DeepCopyableSerialized

type DeepCopyableSerialized interface {
	DeepCopySerialized() DeepCopyableSerialized
}

Jump to

Keyboard shortcuts

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