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
In Go it is pretty idiomatic to return nil, err from a func when we encounter an error when the return values are a pointer and an error. The servers fail to marshal this nil while sending back a response to the client; and fatal logs. I think it might be better to do new(T) for the user before marshaling.