From d0a8e60ace88825b0af36d4d6444a9c45713209b Mon Sep 17 00:00:00 2001 From: John Guo Date: Tue, 8 Mar 2022 20:14:38 +0800 Subject: [PATCH] improve example for package gmap --- container/gmap/gmap_z_example_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/container/gmap/gmap_z_example_test.go b/container/gmap/gmap_z_example_test.go index 4ef5fe3b4..416725580 100644 --- a/container/gmap/gmap_z_example_test.go +++ b/container/gmap/gmap_z_example_test.go @@ -8,6 +8,7 @@ package gmap_test import ( "fmt" + "github.com/gogf/gf/v2/util/gutil" "github.com/gogf/gf/v2/container/gmap" @@ -305,7 +306,7 @@ func ExampleNewTreeMapFrom() { n := gmap.NewListMapFrom(m.Map(), true) fmt.Println(n.Map()) - // Output: + // May Output: // map[key1:var1 key2:var2] // map[key1:var1 key2:var2] }