interfaceKit

package
v1.30.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNil deprecated

func IsNil(obj interface{}) bool

IsNil

Deprecated: 反射有性能问题,应尽可能避免使用此方法.

PS: (1) 如果某一变量的类型"不为指针",那么可以直接用"== nil"来判空. (2) 如果某一变量的类型"可能为指针",那么需要用此方法来判空.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL