utils

package
v0.0.0-...-8a3e9f0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InfoLogger  *log.Logger
	ErrorLogger *log.Logger
)

Functions

func LogError

func LogError(message string)

func LogInfo

func LogInfo(message string)

Types

type ResponseTask

type ResponseTask struct {
	ID          string `json:"id"`
	UserId      string `json:"user_id"`
	Title       string `json:"title"`
	Description string `json:"description"`
	PriorityID  string `json:"priority_id"`
	Status      string `json:"status"`
	CreatedAt   string `json:"created_at"`
	UpdatedAt   string `json:"updated_at"`
	DueDate     string `json:"due_date"`
}

func ResponseTasks

func ResponseTasks(t *db.Task) *ResponseTask

Jump to

Keyboard shortcuts

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