package deepcopy
import "github.com/open-policy-agent/opa/internal/deepcopy"
Index ¶
Functions ¶
func DeepCopy ¶
func DeepCopy(val interface{}) interface{}
DeepCopy performs a recursive deep copy for nested slices/maps and returns the copied object. Supports []interface{} and map[string]interface{} only
Source Files ¶
- Version
- v0.37.2
- Published
- Feb 11, 2022
- Platform
- linux/amd64
- Last checked
- 1 hour ago –
Tools for package owners.