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