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.30.0-rc0
- Published
- Jun 29, 2021
- Platform
- js/wasm
- Last checked
- 29 seconds ago –
Tools for package owners.