user

package
v0.0.0-...-b5ea2e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadCreds = errors.New("bad credentials")

Functions

func Info

func Info(ctx context.Context, client *github.Client) (user dto.GitHubUser, err error)

Info gets a github user info, like login, email and followers

func ToLoginArray

func ToLoginArray(users []*github.User) (logins []string)

ToLoginArray maps a list of github users to a list of their logins

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL