package main

import (
	"fmt"
	"reflect"  //这个包里的TypeOf方法获取变量数据类型
)
func main(){
    b :="6666"
	fmt.Println(reflect.TypeOf(b))
}

相关文章: