package cookies import "net/http" func Expired(name string) http.Cookie { return http.Cookie{ Name: name, Path: "/", MaxAge: -1, // expire the cookie } }