- Updated GetTeamsByMember method to include role information and owner status for each team member. - Refactored GinTeamList to utilize the new getUserTeams function, simplifying team retrieval logic and removing pagination. - Introduced getUserTeams and getUserTeamsCount functions to encapsulate team membership logic, improving code organization and clarity. - Removed deprecated team retrieval logic from user/team.go, streamlining the codebase. |
||
|---|---|---|
| .. | ||
| client | ||
| user | ||