DisplayName returns a user-friendly name via actorDisplayName.
()
| 149 | |
| 150 | // DisplayName returns a user-friendly name via actorDisplayName. |
| 151 | func (u GitHubUser) DisplayName() string { |
| 152 | return actorDisplayName("", u.Login, u.Name) |
| 153 | } |
| 154 | |
| 155 | // Actor is a superset of User and Bot, among others. |
| 156 | // At the time of writing, some of these fields |
nothing calls this directly
no test coverage detected