diff --git a/cookie_go111.go b/cookie_go111.go index 23647c0..d5e9e62 100644 --- a/cookie_go111.go +++ b/cookie_go111.go @@ -16,7 +16,7 @@ func newCookieFromOptions(name, value string, options *Options) *http.Cookie { Secure: options.Secure, HttpOnly: options.HttpOnly, SameSite: options.SameSite, - Partitioned options.Partitioned, + Partitioned: options.Partitioned, } } diff --git a/cookie_test.go b/cookie_test.go index 11e6f74..8e02fbc 100644 --- a/cookie_test.go +++ b/cookie_test.go @@ -32,7 +32,7 @@ func TestNewCookieFromOptions(t *testing.T) { MaxAge: v.maxAge, Secure: v.secure, HttpOnly: v.httpOnly, - Partitioned: v.partitioned + Partitioned: v.partitioned, } cookie := newCookieFromOptions(v.name, v.value, options) if cookie.Name != v.name {