mirror of
https://github.com/documize/community.git
synced 2025-07-25 16:19:46 +02:00
go dep
Migrated from plain /vendor to go dep
This commit is contained in:
parent
0262763c95
commit
fd693f4ff4
957 changed files with 36866 additions and 177595 deletions
|
@ -12,6 +12,7 @@
|
|||
package github
|
||||
|
||||
import (
|
||||
"context"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
|
@ -181,7 +182,7 @@ func getUserName(client *gogithub.Client, config *githubConfig, login string) (f
|
|||
an = content
|
||||
}
|
||||
} else {
|
||||
usr, _, err := client.Users.Get(login)
|
||||
usr, _, err := client.Users.Get(context.Background(), login)
|
||||
if err == nil {
|
||||
if usr.Name != nil {
|
||||
if len(*usr.Name) > 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue