So I'm doing this code.
I create a time, and pass it as an URL parameter. In my handler, I do this.
path := //some url + time.Now().String()
// put into url and execute a request.
updatedAtVar := r.URL.Query()["updated_at"][0]
fmt.Println(updatedAtVar)
What is coming out of time.Now().String()
is something like
2014-11-17 23:02:03 +0000 UTC
.
What is coming out of r.URL.Query()["updated_at"][0]
is
2014-11-17 23:02:03 0000 UTC
.
Why does this happen?