summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-11 21:29:09 -0600
committermo khan <mo@mokhan.ca>2025-05-11 21:29:09 -0600
commitd44244e8d7ef24144253586ef31050f4fa84c19c (patch)
treed57be010560584b2cd0d0d500298ce6546f8ad7f /pkg
parent05fae21a33b74e7768a94eb84294f6198c3cec56 (diff)
refactor: inline unncessary method
Diffstat (limited to 'pkg')
-rw-r--r--pkg/web/cookie.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/web/cookie.go b/pkg/web/cookie.go
index c5391e9..11cc807 100644
--- a/pkg/web/cookie.go
+++ b/pkg/web/cookie.go
@@ -26,10 +26,6 @@ func ExpireCookie(w http.ResponseWriter, name string) error {
))
}
-func CookieValueFrom(c *http.Cookie) string {
- return c.Value
-}
-
func WriteCookie(w http.ResponseWriter, c *http.Cookie) error {
if err := c.Valid(); err != nil {
return err