tasksrepo

package
v0.0.0-...-14e2bc2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

TODO: This library is imported from ror, should determine if its a public library or not

Index

Constants

View Source
const (
	CollectionName = "tasks"
)

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, task *apicontracts.Task) (*apicontracts.Task, error)

func Delete

func Delete(ctx context.Context, taskId string) (bool, *apicontracts.Task, error)

func FindOne

func FindOne(ctx context.Context, property string, propertyValue string) (*apicontracts.Task, error)

func GetAll

func GetAll(ctx context.Context) (*[]apicontracts.Task, error)

func GetById

func GetById(ctx context.Context, taskId string) (*apicontracts.Task, error)

func Update

func Update(ctx context.Context, taskId string, taskInput apicontracts.Task) (*apicontracts.Task, *apicontracts.Task, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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