storage

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDB

func ConnectDB() *sql.DB

func EditOnSQLite

func EditOnSQLite(t task.Task) error

func RemoveFromSQLite

func RemoveFromSQLite(t task.Task) error

func RetrieveTasksFromYaml

func RetrieveTasksFromYaml(taskFilenames [3]string, list *task.TaskList) error

Reads and retrieves tasks from each one of the task YAML files.

func RetriveTasksFromSQLite

func RetriveTasksFromSQLite(list *task.TaskList) error

func UpdateOnSQLite

func UpdateOnSQLite(t task.Task) error

func WriteToSQLite

func WriteToSQLite(t task.Task) error

func WriteToYamlFile

func WriteToYamlFile(filename string, taskSlice *[]task.Task, done chan error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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