V2.7 增加agent执行器
This commit is contained in:
15
libs/convert.go
Normal file
15
libs/convert.go
Normal file
@@ -0,0 +1,15 @@
|
||||
/************************************************************
|
||||
** @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)
|
||||
}
|
||||
Reference in New Issue
Block a user