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()
|
||
|
}
|