tasks

package
v0.0.0-...-69c30cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddComment

func AddComment(c *gin.Context)

func AddTask

func AddTask(c *gin.Context)

func AssignTask

func AssignTask(c *gin.Context)

func DeleteTask

func DeleteTask(c *gin.Context)

func GetTask

func GetTask(c *gin.Context)

Types

type GetTaskStruct

type GetTaskStruct struct {
	T_id           uuid.UUID `json:"t_id"`
	P_id           uuid.UUID `json:"p_id"`
	Name           string    `json:"name"`
	Descp          string    `json:"descp"`
	Assignee       uuid.UUID `json:"assignee"`
	AssigneeName   string    `json:"assignee_name"`
	AssignedTo     uuid.UUID `json:"assigned_to"`
	AssignedToName string    `json:"assigned_to_name"`
	CreatedAt      string    `json:"created_at"`
	Deadline       string    `json:"deadline"`
	Tech           string    `json:"tech"`
}

type HomeTasks

type HomeTasks struct {
	T_id uuid.UUID `json:"t_id"`
	Name string    `json:"name"`
}

type Task

type Task struct {
	T_id       uuid.UUID `json:"t_id"`
	P_id       uuid.UUID `json:"p_id"`
	Name       string    `json:"name"`
	Descp      string    `json:"descp"`
	Assignee   uuid.UUID `json:"assignee"`
	AssignedTo uuid.UUID `json:"assigned_to"`
	CreatedAt  string    `json:"created_at"`
	Deadline   string    `json:"deadline"`
	Tech       string    `json:"tech"`
}

type TaskAssign

type TaskAssign struct {
	T_id    uuid.UUID `json:"t_id"`
	User_id uuid.UUID `json:"user_id"`
}

type TaskComment

type TaskComment struct {
	Tc_id     uuid.UUID `json:"tc_id"`
	T_id      uuid.UUID `json:"t_id"`
	User_id   uuid.UUID `json:"user_id"`
	UserName  string    `json:"user_name"`
	Comment   string    `json:"comment"`
	CreatedAt string    `json:"created_at"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL