()
| 44 | } |
| 45 | |
| 46 | func ExampleNew() { |
| 47 | original := map[string]interface{}{ |
| 48 | "foo": []interface{}{ |
| 49 | "bar", |
| 50 | "baz", |
| 51 | }, |
| 52 | "quux": map[string]interface{}{ |
| 53 | "mooz": "xyzzy", |
| 54 | }, |
| 55 | } |
| 56 | |
| 57 | fmt.Println(compareValues(original, map[string]interface{}{ |
| 58 | "cake": "lie", |
| 59 | })) |
| 60 | |
| 61 | // Output: |
| 62 | // (|)map[cake:(+)lie foo:(-)[bar baz] quux:(-)map[mooz:xyzzy]] |
| 63 | } |
nothing calls this directly
no test coverage detected