Files
ppgo_job/libs/convert.go

16 lines
395 B
Go
Raw Normal View History

2019-07-03 22:31:27 +08:00
/************************************************************
** @Description: convert
** @Author: george hao
** @Date: 2019-06-28 09:34
** @Last Modified by: george hao
** @Last Modified time: 2019-06-28 09:34
*************************************************************/
package libs
import "fmt"
//查看数据类型
func DataType(i interface{}) string {
return fmt.Sprintf("%T", i)
}