()
| 688 | } |
| 689 | |
| 690 | func ExampleOrderedMap_Values() { |
| 691 | om := NewOrderedMap[string, int]() |
| 692 | |
| 693 | om.Set("a", 1) |
| 694 | om.Set("b", 2) |
| 695 | om.Set("c", 3) |
| 696 | |
| 697 | values := om.Values() |
| 698 | |
| 699 | fmt.Println(values) |
| 700 | |
| 701 | // Output: |
| 702 | // [1 2 3] |
| 703 | } |
| 704 | |
| 705 | func ExampleOrderedMap_Contains() { |
| 706 | om := NewOrderedMap[string, int]() |
nothing calls this directly
no test coverage detected
searching dependent graphs…