package
0.0.0-20240810143629-82a3b7c7c949
Repository: https://github.com/zhdanovichvlad/go_final_project.git
Documentation: pkg.go.dev

# Functions

ApiNextDate function for the api.NextDate handle.
CorrectTask function that CorrectTask in the database.
DeleteTask function to delete a task by the given Query id.
DoneTask function to delete and update a task in the database by a given ID if it has been executed.
GetTask function returns a task from the database by the specified ID in the Query.
GetTasks function to get the nearest tasks.
PostTask.

# Constants

Constants for defining the database search criterion.
Constants for defining the database search criterion.
Constants for defining the database search criterion.

# Structs

a structure for receiving tasks from the frontend and sending them back to the frontend.
Structure for returning a JSON-formatted response when adding a task.

# Interfaces

to implement polymorphism, we describe the interface of our database, so that we can use methods to work with the database.