Documentation ¶
Index ¶
- func CheckToken(teamID, userID, pass string) (team *dao.Team, err error)
- func Create(ownerID, name, pass string) (teamResult *dao.TeamResult, err error)
- func Find(TeamID uuid.UUID, IsDeleted bool) (team *dao.Team, err error)
- func FindByMemberID(memberID string) (teams []*dao.TeamResult, err error)
- func FindByOwnerID(ownerID string, IsDeleted bool) (teams []*dao.TeamResult, err error)
- func Update(TeamID uuid.UUID, team *dao.Team) (teamResult *dao.TeamResult, err error)
- func UpdateMembers(userID string, TeamID uuid.UUID, pull, push []string) (teamResult *dao.TeamResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckToken ¶
CheckToken ...
func Create ¶
func Create(ownerID, name, pass string) (teamResult *dao.TeamResult, err error)
Create ...
func FindByMemberID ¶
func FindByMemberID(memberID string) (teams []*dao.TeamResult, err error)
FindByMemberID ...
func FindByOwnerID ¶
func FindByOwnerID(ownerID string, IsDeleted bool) (teams []*dao.TeamResult, err error)
FindByOwnerID ...
func UpdateMembers ¶
func UpdateMembers(userID string, TeamID uuid.UUID, pull, push []string) ( teamResult *dao.TeamResult, err error)
UpdateMembers ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.