func (u User) Username() string {
	jwt := u.JWT()
	ui, err := u.setInfo(jwt)
	if err != nil {
		return ""
	}
	return ui.Name
}
// Username returns the username of the logged in user.
// If any problem occurs, an empty string is returned.
Username returns the username of the logged in user.
If any problem occurs, an empty string is returned.
// Username returns the username of the logged in user . // If any problem occurs an empty string is returned .
func (u User) Username() string {
	jwt := u.JWT()
	ui, err := u.setInfo(jwt)
	if err != nil {
		return ""
	}
	return ui.Name
}
func ( u User ) Username ( ) string { jwt := u . JWT ( ) ui , err := u . setInfo ( jwt ) if err != nil { return " " } return ui . Name }
Username returns the username of the logged in user.
Username returns the username of the logged in user .