package main import ( "fmt" "github.com/gogf/gf/os/gtime" ) func main() { fmt.Println(gtime.Timestamp()) }