()
| 29 | } |
| 30 | |
| 31 | func ExampleMap() { |
| 32 | original := map[string]interface{}{"foo": "bar"} |
| 33 | |
| 34 | fmt.Println(compareValues(original, map[string]interface{}{"foo": "bar"})) |
| 35 | fmt.Println(compareValues(original, map[string]interface{}{"foo": "baz"})) |
| 36 | fmt.Println(compareValues(original, map[string]interface{}{})) |
| 37 | fmt.Println(compareValues(original, map[string]interface{}{"foo": "bar", "baz": "quux"})) |
| 38 | |
| 39 | // Output: |
| 40 | // (=)map[foo:(=)bar] |
| 41 | // (|)map[foo:(>)baz] |
| 42 | // (|)map[foo:(-)bar] |
| 43 | // (|)map[baz:(+)quux foo:(=)bar] |
| 44 | } |
| 45 | |
| 46 | func ExampleNew() { |
| 47 | original := map[string]interface{}{ |
nothing calls this directly
no test coverage detected