build: golang.org/x/build/internal/gophers Index | Files

package gophers

import "golang.org/x/build/internal/gophers"

Package gophers is a list of names, emails, and Github usernames of people from the Go git repos and issue trackers.

Index

Package Files

gophers.go

func GithubOfGomoteUser Uses

func GithubOfGomoteUser(gomoteUser string) (githubUser string)

GithubOfGomoteUser returns the GitHub username for the provided gomote user.

type Person Uses

type Person struct {
    Name    string   // "Foo Bar"
    Github  string   // "FooBar" (orig case, no '@')
    Gerrit  string   // "foo@bar.com" (lowercase)
    Emails  []string // all lower
    Googler bool     // whether person is (or was) a Googler; determined via heuristics
    Bot     bool     // whether it's a known bot (GopherBot, Gerrit Bot)
}

Person represents a person.

func GetGerritPerson Uses

func GetGerritPerson(ai gerrit.AccountInfo) *Person

GetGerritPerson looks up a person from the Gerrit account ai. It uses the name and email in the Gerrit account for the lookup.

func GetPerson Uses

func GetPerson(id string) *Person

GetPerson looks up a person by id and returns one if found, or nil otherwise.

The id is case insensitive, and may be one of:

• full name (for example, "Dmitri Shuralyov")

• GitHub username (for example, "@dmitshur"), leading '@' is mandatory

• Gerrit <account ID>@<instance ID> (for example, "6005@62eb7196-b449-3ce5-99f1-c037f21e1705")

• email (for example, "dmitshur@golang.org")

Only exact matches are supported.

Package gophers imports 2 packages (graph) and is imported by 9 packages. Updated 2019-09-21. Refresh now. Tools for package owners.