Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: SetCookie 'Max-Age' field can not be empty #15742
I'm a little confused as to what the original post is asking for. http.SetCookie takes a *Cookie as an argument, and the Cookie struct type has a MaxAge field.
Do either of the first two do what you want?