mirror of
https://gitee.com/johng/gf.git
synced 2024-12-04 13:18:01 +08:00
16 lines
267 B
Go
16 lines
267 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"gitee.com/johng/gf/g/os/gtime"
|
|
"gitee.com/johng/gf/g/util/gconv"
|
|
"time"
|
|
"reflect"
|
|
)
|
|
|
|
func main() {
|
|
|
|
fmt.Println(reflect.TypeOf(gconv.Time(gtime.Second())))
|
|
fmt.Println(time.Unix(gtime.Second(), 0).String())
|
|
|
|
} |