I\'m trying to set cookies with Go\'s net/http package. I have:
package main import \"io\" import \"net/http\" import \"time\" func indexHandler(w http.Res
I am not a Go expert, but I think you are setting the cookie on the request, aren't you? You might want to set it on the response. There is a setCookie function in net/http. This might help: http://golang.org/pkg/net/http/#SetCookie
setCookie
func SetCookie(w ResponseWriter, cookie *Cookie)