velodrome/token-counter/token-counter.go
func GetUsername(client *github.Client) (string, error) {
	user, _, err := client.Users.Get(context.Background(), "")
	if err != nil {
		return "", err
	}
	if user.Login == nil {
		return "", errors.New("Users.Get(\"\") returned empty login")
	}

	return *user.Login, nil
}
func GetUsername(client *github.Client) (string, error) {
	user, _, err := client.Users.Get(context.Background(), "")
	if err != nil {
		return "", err
	}
	if user.Login == nil {
		return "", errors.New("Users.Get(\"\") returned empty login")
	}

	return *user.Login, nil
}
func GetUsername ( client * github . Client ) ( string , error ) { user , _ , err := client . Users . Get ( context . Background ( ) , " " ) if err != nil { return " " , err } if user . Login == nil { return " " , errors . New ( " \" \" " ) } return * user . Login , nil }
// GetUsername finds the login for each token
GetUsername finds the login for each token