Fix typos in doc strings.

This commit is contained in:
Paul Groudas
2019-12-20 11:27:10 -05:00
parent 7663565cd3
commit 90f8117fba
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func MakeCookie(req *http.Request, name string, value string, path string, domai
}
}
// MakeCookieFromOptions constructs a cookie based on the givemn *options.CookieOptions,
// MakeCookieFromOptions constructs a cookie based on the given *options.CookieOptions,
// value and creation time
func MakeCookieFromOptions(req *http.Request, name string, value string, opts *options.CookieOptions, expiration time.Duration, now time.Time) *http.Cookie {
return MakeCookie(req, name, value, opts.CookiePath, opts.CookieDomain, opts.CookieHTTPOnly, opts.CookieSecure, expiration, now)