package
0.0.27
Repository: https://github.com/non1996/go-jsonobj.git
Documentation: pkg.go.dev

# Functions

Add 两个值相加.
Copy 只拷贝对象本身,不拷贝其指针成员指向的其他变量.
DerefOrDef 对指针解引用,如果是空指针则返回默认值 Deprecated.
Equal 判断两个值是否相等.
Greater 判断v1是否大于v2.
Indirect 函数接受一个指针,返回指针指向的值(解引用),对于空指针回返回指针指向类型的默认值.
IndirectOr 函数和 Indirect 很像,但允许用户自定义遇到空指针时返回的默认值。.
IsNil 判断是否是nil指针.
Less 判断v1是否小于v2.
Max 返回两值中较大的那个.
Min 返回两值中较小的那个.
NonNil 判断是否是nil指针.
No description provided by the author
Noop 不进行任何操作,直接返回.
Ref 传入一个值,返回它的指针.
Ternary 三元表达式.
TernaryLazy 使用函数闭包提供值的三元表达式.
Type 返回一个类型的指针的 reflect.Type.
Zero 函数返回一个类型的默认值 / 零值.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author