mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-17 16:56:38 +08:00
14 lines
140 B
Go
14 lines
140 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"reflect"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
r := time.Now()
|
|
f := reflect.ValueOf(r)
|
|
fmt.Println(f.Type().Kind())
|
|
}
|