So I'm trying to parse a time from a string and then insert that time into Postgres.
I have this so far-
layout := "2006-01-02T15:04:05.000Z"
updatedAt, _ := time.Parse("2016-06-10")
fmt.Println(updatedAt)
but this outputs
0001-01-01 00:00:00 +0000 UTC
.
I'm also not sure how to then use this to query in postgres (what format should the time have)?