How would I parse this timestamp?
"2019-09-19 04:03:01.770080087 +0000 UTC"
I've tried the following:
formatExample := obj.CreatedOn // obj.CreatedOn = "2019-09-19 04:03:01.770080087 +0000 UTC"
time, err := time.Parse(formatExample, obj.CreatedOn)
check(err)
fmt.Println(time)
But all I get as output is:
0001-01-01 00:00:00 +0000 UTC