1 2 3 4 5 6 7
package format import "time" func GetCurrentTimeAsTimestamp() int64 { return time.Now().Unix() }