refactor: clean code
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import "reflect"
|
||||
|
||||
// 判断对象是否为 nil。
|
||||
// 与直接使用 `obj == nil` 不同,该函数会正确判断接口类型对象的真实值是否为空。
|
||||
//
|
||||
// 入参:
|
||||
// - value:待判断的对象。
|
||||
|
||||
Reference in New Issue
Block a user