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
Hello, you can use zero.String, which works like that. If you don't want the other behavior the zero package specifies, I'd recommend forking this package and making the changes there.
Can we make StringFrom verify string argument for "emptiness"?
to
It is useful in:
result := null.StringFrom(ctx.Request.Header.Get("some-header"))
And many other cases.
Or a new method with this behaviour?
The text was updated successfully, but these errors were encountered: