forked from golang/hotime
9 lines
120 B
Go
9 lines
120 B
Go
package util
|
|
|
|
import "time"
|
|
|
|
//GetCurrTs return current timestamps
|
|
func GetCurrTs() int64 {
|
|
return time.Now().Unix()
|
|
}
|