()
| 384 | } |
| 385 | |
| 386 | func (err ErrUserHasOrgs) Error() string { |
| 387 | return fmt.Sprintf("user still has organization membership: %v", err.args) |
| 388 | } |
| 389 | |
| 390 | // DeleteByID deletes the given user and all their resources. It returns |
| 391 | // ErrUserOwnRepos when the user still has repository ownership, or returns |
no outgoing calls