From 3650830381a19dad9676432160b11790f0638174 Mon Sep 17 00:00:00 2001 From: Hank Shen Date: Thu, 2 May 2019 10:00:41 +0800 Subject: update --- sessions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sessions.go') diff --git a/sessions.go b/sessions.go index 2d19c8a..c0139a6 100644 --- a/sessions.go +++ b/sessions.go @@ -194,8 +194,8 @@ func NewCookie(ctx echo.Context, name, value string) *http.Cookie { } // SetCookie for echo -func SetCookie(ctx echo.Context, key string, value string) { - ctx.SetCookie(key, value) +func SetCookie(ctx echo.Context, key string, value string, args ...interface{}) { + ctx.SetCookie(key, value, args...) } // Error ---------------------------------------------------------------------- -- cgit v1.2.3