db

package
v0.0.0-...-55065b5 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTask

func CreateTask(task string) (int, error)

func DeleteTask

func DeleteTask(key int) error

func Init

func Init(dbPath string) error

Types

type Task

type Task struct {
	Key   int
	Value string
}

func AllTasks

func AllTasks() ([]Task, error)

Jump to

Keyboard shortcuts

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