buildgolang.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

Types

type Person

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

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

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

• GitHub team name (for example, "@golang/tools-team"), 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.

Source Files

gophers.go

Version
v0.0.0-20250421191922-3619c213cff3 (latest)
Published
Apr 21, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
3 months ago

Tools for package owners.