mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
ctx
This commit is contained in:
parent
7975a377a0
commit
9f19fd46e7
@ -14,6 +14,9 @@ type ApiResponse struct {
|
|||||||
|
|
||||||
func isAllFieldsPrivate(v any) bool {
|
func isAllFieldsPrivate(v any) bool {
|
||||||
typeOf := reflect.TypeOf(v)
|
typeOf := reflect.TypeOf(v)
|
||||||
|
if typeOf == nil {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if typeOf.Kind() == reflect.Ptr {
|
if typeOf.Kind() == reflect.Ptr {
|
||||||
typeOf = typeOf.Elem()
|
typeOf = typeOf.Elem()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user