MCPcopy
hub / github.com/gogf/gf / ExampleStrStrMap_Keys

Function ExampleStrStrMap_Keys

container/gmap/gmap_z_example_str_str_test.go:344–356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

342}
343
344func ExampleStrStrMap_Keys() {
345 var m gmap.StrStrMap
346 m.Sets(g.MapStrStr{
347 "k1": "v1",
348 "k2": "v2",
349 "k3": "v3",
350 "k4": "v4",
351 })
352 fmt.Println(m.Keys())
353
354 // May Output:
355 // [k1 k2 k3 k4]
356}
357
358func ExampleStrStrMap_Values() {
359 var m gmap.StrStrMap

Callers

nothing calls this directly

Calls 2

SetsMethod · 0.95
KeysMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…