chore: remove repetitive word (#6193)

Signed-off-by: sellskin <mydesk@yeah.net>
This commit is contained in:
sellskin 2024-03-25 23:05:45 +08:00 committed by GitHub
parent db9d167354
commit 0dd0487eba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -257,7 +257,7 @@ func (TemplateContext) funcEnv(varName string) string {
return os.Getenv(varName) 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 { func (c TemplateContext) Cookie(name string) string {
cookies := c.Req.Cookies() cookies := c.Req.Cookies()
for _, cookie := range cookies { for _, cookie := range cookies {