### 请问各位,这个`Expires`这个参数,我想设置一个60s的有效时间,请问如何填写
```
func Login(c *gin.Context) {
cookie:=&http.Cookie{
Name:"token-key",
Value:"value-01",
Path:"/",
HttpOnly:false,
Expires:
}
http.SetCookie(c.Writer, cookie)
c.JSON(http.StatusOK,"Login Ok")
}
```
有疑问加站长微信联系(非本文作者)