Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToDatabase ¶
func ConnectToDatabase()
Types ¶
type TaskCollection ¶
type TaskCollection struct {
// contains filtered or unexported fields
}
func (TaskCollection) Create ¶
func (model TaskCollection) Create(newTask *Task) (err error)
func (TaskCollection) GetAll ¶
func (model TaskCollection) GetAll() (tasks []Task, err error)
func (TaskCollection) Update ¶
func (model TaskCollection) Update(updatedTask *Task) (err error)
Click to show internal directories.
Click to hide internal directories.