From d44244e8d7ef24144253586ef31050f4fa84c19c Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 11 May 2025 21:29:09 -0600 Subject: refactor: inline unncessary method --- pkg/web/cookie.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkg/web') 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 -- cgit v1.2.3