Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contributor ¶
type CreateRepoReq ¶
type CreateTaskReq ¶
type DeleteTaskReq ¶
type DeleteTaskReq struct {
TaskID int `json:"task_id"`
}
type EditTaskReq ¶
type ProjectInfo ¶
type ProjectResp ¶
type ProjectResp struct {
ProjectID int `json:"project_id"`
ProjectOwnerId string `json:"project_owner_id"`
ProjectOwnerUsername string `json:"project_owner_username"`
ProjectName string `json:"project_name"`
ProjectURL string `json:"project_url"`
ProjectSkills []string `json:"project_skills"`
ProjectDescription string `json:"project_description"`
}
type RepoInfoReq ¶
type RepoInfoReq struct {
// Github repository name
// Example: "sysc4995"
// Required: true
RepoName string `json:"repo_name" validate:"required"`
}
type RepoInfoResp ¶
type RepoInfoResp struct {
// Github repositories
// Example: ["chicken1", "chicken2"]
Languages []string `json:"languages"`
// List of contributors
// Example [{"username": "wagwan", "git_id": 1234567}]
Contributors []Contributor `json:"contributors"`
}
type RepoIssueResp ¶
type RepoIssueResp struct {
// Github repositories
Issues []RepoIssue `json:"issues"`
}
type ReposGetResp ¶
type ReposGetResp struct {
// List of GitHub repository names
// Example: ["chicken1", "chicken2"]
Repos []string `json:"repos"`
}
type SearchProjectsResp ¶
type SearchProjectsResp struct {
// GitCollab projects
Projects []ProjectInfo `json:"projects"`
}
type TaskResp ¶
type TaskResp struct {
TaskID int `json:"task_id"`
ProjectID int `json:"project_id"`
ProjectName string `json:"project_name"`
TaskStatus string `json:"task_status"`
CompletedByID int `json:"completed_by_id"`
CreatedDate time.Time `json:"date_created_date"`
CompletedDate time.Time `json:"completed_date"`
TaskTitle string `json:"task_title"`
TaskDescription string `json:"task_description"`
Diffictly int `json:"diffictly"`
Priority int `json:"priority"`
Skills []string `json:"skills"`
}
type UserProjectsReq ¶
type UserProjectsReq struct {
// Profile username
// Example: wagwan
Username string `json:"username" validate:"required"`
}
type UserProjectsResp ¶
type UserProjectsResp struct {
// GitCollab projects
Projects []ProjectInfo `json:"projects"`
}
Click to show internal directories.
Click to hide internal directories.