()
| 673 | } |
| 674 | |
| 675 | func ExampleOrderedMap_Keys() { |
| 676 | om := NewOrderedMap[string, int]() |
| 677 | |
| 678 | om.Set("a", 1) |
| 679 | om.Set("b", 2) |
| 680 | om.Set("c", 3) |
| 681 | |
| 682 | keys := om.Keys() |
| 683 | |
| 684 | fmt.Println(keys) |
| 685 | |
| 686 | // Output: |
| 687 | // [a b c] |
| 688 | } |
| 689 | |
| 690 | func ExampleOrderedMap_Values() { |
| 691 | om := NewOrderedMap[string, int]() |
nothing calls this directly
no test coverage detected
searching dependent graphs…