func (u *User) GetRole() string {
	if u == nil || u.Role == nil {
		return ""
	}
	return *u.Role
}
func (u *User) GetRole() string {
	if u == nil || u.Role == nil {
		return ""
	}
	return *u.Role
}
func ( u * User ) GetRole ( ) string { if u == nil || u . Role == nil { return " " } return * u . Role }
// GetRole returns the Role field if non-nil, zero value otherwise.
GetRole returns the Role field if non - nil zero value otherwise .