- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for validUserType (0.17 sec)
-
src/encoding/gob/type.go
) var userTypeCache sync.Map // map[reflect.Type]*userTypeInfo // validUserType returns, and saves, the information associated with user-provided type rt. // If the user type is not valid, err will be non-nil. To be used when the error handler // is not set up. func validUserType(rt reflect.Type) (*userTypeInfo, error) { if ui, ok := userTypeCache.Load(rt); ok { return ui.(*userTypeInfo), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0)