net/url.Userinfo.Username (method)
7 uses
net/url (current package)
url.go#L413: func (u *Userinfo) Username() string {
url.go#L837: username := u.User.Username()
url.go#L907: ru.User = UserPassword(ru.User.Username(), "xxxxx")
net/http
client.go#L247: username := u.Username()
client.go#L1033: return strings.Replace(u.String(), u.User.String()+"@", u.User.Username()+":***@", 1)
transport.go#L939: username := u.Username()
transport.go#L1753: Username: u.Username(),
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |