From 0dd0487eba1592b19cb2260fe247b7d375301fe5 Mon Sep 17 00:00:00 2001 From: sellskin Date: Mon, 25 Mar 2024 23:05:45 +0800 Subject: [PATCH] chore: remove repetitive word (#6193) Signed-off-by: sellskin --- modules/caddyhttp/templates/tplcontext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyhttp/templates/tplcontext.go b/modules/caddyhttp/templates/tplcontext.go index a66a0c30..8ba64200 100644 --- a/modules/caddyhttp/templates/tplcontext.go +++ b/modules/caddyhttp/templates/tplcontext.go @@ -257,7 +257,7 @@ func (TemplateContext) funcEnv(varName string) string { return os.Getenv(varName) } -// Cookie gets the value of a cookie with name name. +// Cookie gets the value of a cookie with name. func (c TemplateContext) Cookie(name string) string { cookies := c.Req.Cookies() for _, cookie := range cookies {