package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Apr 3, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AddChore accepts a chorename and adds it to the Chores table
CheckDB checks if the database is alive
DeleteChore deletes a chore from the database
Arguments:
cid -> the chore id
EditChore edits a chore in the database
Arguments:
cid -> the chore id
GetAllChores retrieves a chore from the database.
Returns:
[]string -> a slice of strings representing all chores
error -> an error if the chore is not found or the id is invalid
GetChore retrieves a chore from the database.
Arguments:
cid -> the chore id
Returns:
error -> an error if the chore is not found or the id is invalid
Source Files
¶
Click to show internal directories.
Click to hide internal directories.