From 4db4f7e78f22b416040c849d05b5bad6f901e7db Mon Sep 17 00:00:00 2001 From: Peter Kieltyka Date: Thu, 21 Jan 2016 14:08:11 -0500 Subject: [PATCH] Typo --- jwtauth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jwtauth.go b/jwtauth.go index aa8e889..4e46864 100644 --- a/jwtauth.go +++ b/jwtauth.go @@ -217,13 +217,13 @@ func (c Claims) Get(k string) (interface{}, bool) { return v, ok } -// Set issues at ("iat") to specified time in the claims +// Set issued at ("iat") to specified time in the claims func (c Claims) SetIssuedAt(tm time.Time) Claims { c["iat"] = tm.UTC().Unix() return c } -// Set issues at ("iat") to present time in the claims +// Set issued at ("iat") to present time in the claims func (c Claims) SetIssuedNow() Claims { c["iat"] = EpochNow() return c