deepcopy

package
v0.0.81 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

deepCopy

GoDocBuild Status

DeepCopy makes deep copies of things: unexported field values are not copied.

Usage

cpy := deepcopy.Copy(orig)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy[T any](src T) T

func Iface

func Iface(iface any) any

Types

type Interface

type Interface interface {
	DeepCopy() any
}

Jump to

Keyboard shortcuts

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