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.35.0-rc1
- Published
- Nov 5, 2021
- Platform
- js/wasm
- Last checked
- 9 hours ago –
Tools for package owners.