A user has a cookie set when they visit using http.SetCookie like so:
expire := time.Now().Add(7 * 24 * time.Hour)
cookie := http.Cookie{
Name: "name",
Value: "value",
Expires: expire,
}
http.SetCookie(w, &cookie)
If I want to remove this cookie at a later point, what is the correct way to do this?