Changed test to explicitly show that you can change the map without type

asserting every call.
This commit is contained in:
Jamie Stackhouse 2015-07-22 13:53:37 -03:00
parent 6f536a0d2d
commit ddfa84b397
1 changed files with 1 additions and 1 deletions

View File

@ -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]
}