package merge
import "github.com/open-policy-agent/opa/internal/merge"
Package merge contains helpers to merge data structures frequently encountered in OPA.
Index ¶
Functions ¶
func InterfaceMaps ¶
func InterfaceMaps(a map[string]interface{}, b map[string]interface{}) (c map[string]interface{}, ok bool)
InterfaceMaps returns the result of merging a and b. If a and b cannot be merged because of conflicting key-value pairs, ok is false.
Source Files ¶
- Version
- v0.29.4
- Published
- May 31, 2021
- Platform
- darwin/amd64
- Last checked
- 23 minutes ago –
Tools for package owners.