MCPcopy Create free account
hub / github.com/gogs/gogs / GetTeam

Method GetTeam

internal/database/org.go:34–36  ·  view source on GitHub ↗

GetTeamOfOrgByName returns named team of organization.

(name string)

Source from the content-addressed store, hash-verified

32
33// GetTeamOfOrgByName returns named team of organization.
34func (org *User) GetTeam(name string) (*Team, error) {
35 return org.getTeam(x, name)
36}
37
38func (org *User) getOwnerTeam(e Engine) (*Team, error) {
39 return org.getTeam(e, ownerTeamName)

Callers

nothing calls this directly

Implementers 1

mailerUserinternal/database/issue_mail.go

Calls 1

getTeamMethod · 0.95

Tested by

no test coverage detected