You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually , I think it's because return nil directly when the struct is nil , but it's not so reasonable.
Is it better to return the zero value( empty string in this case) of the corresponding field ?
The text was updated successfully, but these errors were encountered:
Actually , I think it's because return nil directly when the struct is nil , but it's not so reasonable.
Is it better to return the zero value( empty string in this case) of the corresponding field ?
The text was updated successfully, but these errors were encountered: