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

Method getTeam

internal/database/org.go:29–31  ·  view source on GitHub ↗
(e Engine, name string)

Source from the content-addressed store, hash-verified

27}
28
29func (org *User) getTeam(e Engine, name string) (*Team, error) {
30 return getTeamOfOrgByName(e, org.ID, name)
31}
32
33// GetTeamOfOrgByName returns named team of organization.
34func (org *User) GetTeam(name string) (*Team, error) {

Callers 2

GetTeamMethod · 0.95
getOwnerTeamMethod · 0.95

Implementers 1

mailerUserinternal/database/issue_mail.go

Calls 1

getTeamOfOrgByNameFunction · 0.85

Tested by

no test coverage detected