How do I make the timestamp format:
2015-01-25T22:22:46+08:00
look like this
2015-01-25T22:22:46.923331Z
To get the first format, I used
time.Now().Format(time.RFC3339)
The second format is the default postgres format that I'm trying to duplicate. Thanks!
Use "2006-01-02T15:04:05.000000Z"
as the format instead. It's just RFC3339
with decimals added.