Get Unix Time in Go (Time Since Epoch)
Unix time is the number of seconds since ‘Epoch’ (00:00:00 UTC on 1 January 1970). It’s a widely adopted way of representing time in a simple, uniform, manner - as it’s an integer and not a string. Because of it’s simplicity, it also used it many programming languages.
In Go, you can easily access it from the time package by getting the current time, then calling the Unix() function.