Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstanceOf ¶
func InstanceOf[T interface{}](obj interface{}) bool
判断对象是否为指定类型
- @temp_param T 类型
- @param interface{} obj 变量
- @return bool 是否为指定类型
func ObjectDump ¶
func ObjectDump(obj interface{}) string
将对象的成员变量与成员函数 json5的格式打印
- @return string json5字符串
func ObjectDumpWithoutFunc ¶
func ObjectDumpWithoutFunc(obj interface{}) string
将对象的成员变量与成员函数 json5的格式打印, 不包含成员函数
- @return string json5字符串
func ObjectToJson5 ¶
func ObjectToJson5(obj interface{}) string
将对象的成员变量与成员函数 通过beautiful json5的格式打印
- @return string 格式化的json5字符串
func ObjectToJson5WithoutFunc ¶
func ObjectToJson5WithoutFunc(obj interface{}) string
将对象的成员变量与成员函数, 通过beautiful json5的格式打印, 不包含成员函数
- @return string 格式化的json5字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.