A Tip on Go's Time Formatting

December 2018 · 1 minute read

It seems not so many people understand Go’s design of time formatting since it’s so different from other languages and the official document doesn’t intentionally explain it. Actually it’s simple as count from 1 to 7: