From ddfa84b39799771f1074c86f44a5c72e71347362 Mon Sep 17 00:00:00 2001 From: Jamie Stackhouse Date: Wed, 22 Jul 2015 13:53:37 -0300 Subject: [PATCH] Changed test to explicitly show that you can change the map without type asserting every call. --- example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_test.go b/example_test.go index 4621ea0..224cd91 100644 --- a/example_test.go +++ b/example_test.go @@ -28,7 +28,7 @@ func ExampleNew() { claims["foo"] = "bar" claims["exp"] = time.Unix(0, 0).Add(time.Hour * 1).Unix() - fmt.Printf("%v\n", claims) + fmt.Printf("%v\n", token.Claims) //Output: map[foo:bar exp:3600] }