From e5bddd0750099c663966ccfa73577555f106f452 Mon Sep 17 00:00:00 2001 From: Chase Pierce Date: Sun, 30 Jun 2024 23:24:23 -0600 Subject: [PATCH] better wording --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c79872..8aa33c5 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,8 @@ cookie.DefaultOptions = &cookie.Options{ } ``` -Which makes all cookies signed by default. +Which will sign all cookies by default, even when using the `Set` and `Get` +methods. If you have any unsigned cookies, you can still access their values by using the `unsigned` tag in the struct field: @@ -172,4 +173,4 @@ cookie.Set(w, "debug", "true", &cookie.Options{ }) ``` -Due to the default value now overriding the option. +Due to the option now defaulting to `true`.