skip to Main Content

Formatting golang time for Azure SDK

Consider the following golang today := time.Now().Format("2006-01-02T03:04:05.9999999Z") t, _ := time.Parse(time.RFC3339Nano, today) Why isn't that equivalent to the much simpler t := time.Now() ? I would like to confirm whether the above code is equivalent, as I believe it is,…

VIEW QUESTION
Back To Top
Search