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
// The Userinfo type is an immutable encapsulation of username and
I need to hide username and password of an url when log it.
So, I use u, err := url.Parse(rawurl), and want to change u.User.
But url.Userinfo username and password is not exported.
The text was updated successfully, but these errors were encountered:
go/src/net/url/url.go
Line 374 in b41eee4
I need to hide username and password of an url when log it.
So, I use
u, err := url.Parse(rawurl)
, and want to changeu.User
.But
url.Userinfo
username and password is not exported.The text was updated successfully, but these errors were encountered: