Documentation ¶
Index ¶
- func AddProject(c *gin.Context)
- func AddProjectMember(c *gin.Context)
- func ChangeProjectMemberCount(db *sql.DB, p_id uuid.UUID, option string) error
- func DeleteProject(c *gin.Context)
- func GetAllProjectMembers(c *gin.Context)
- func GetProjectMembers(c *gin.Context)
- func MakeProjectMemberAdmin(c *gin.Context)
- func RemoveProjectMember(c *gin.Context)
- func SingleProjectList(c *gin.Context)
- type HomeProjects
- type Project
- type ProjectMember
- type ProjectUser
- type SingleProject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProject ¶
func AddProjectMember ¶
func DeleteProject ¶
func GetAllProjectMembers ¶
func GetProjectMembers ¶
func MakeProjectMemberAdmin ¶
func RemoveProjectMember ¶
func SingleProjectList ¶
Types ¶
type HomeProjects ¶
type Project ¶
type Project struct { P_id uuid.UUID `json:"p_id"` W_id uuid.UUID `json:"w_id"` User_id uuid.UUID `json:"user_id"` Name string `json:"name"` Descp string `json:"descp"` TaskCount int `json:"task_count"` MemberCount int `json:"member_count"` CreatedAt string `json:"created_at"` Deadline string `json:"deadline"` Tech string `json:"tech"` IsAdmin bool `json:"is_admin"` }
type ProjectMember ¶
type ProjectUser ¶
type SingleProject ¶
type SingleProject struct { P_id uuid.UUID `json:"p_id"` Name string `json:"name"` Descp string `json:"descp"` TaskCount int `json:"task_count"` MemberCount int `json:"member_count"` IsAdmin bool `json:"is_admin"` CreatedAt string `json:"created_at"` Deadline string `json:"deadline"` Tech string `json:"tech"` }
Click to show internal directories.
Click to hide internal directories.