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

Method getTeams

internal/database/org.go:47–50  ·  view source on GitHub ↗
(e Engine)

Source from the content-addressed store, hash-verified

45}
46
47func (org *User) getTeams(e Engine) (err error) {
48 org.Teams, err = getTeamsByOrgID(e, org.ID)
49 return err
50}
51
52// GetTeams returns all teams that belong to organization.
53func (org *User) GetTeams() error {

Callers 3

GetTeamsMethod · 0.95
TransferOwnershipFunction · 0.80

Implementers 1

mailerUserinternal/database/issue_mail.go

Calls 1

getTeamsByOrgIDFunction · 0.85

Tested by

no test coverage detected