entryDao

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(userID, ownerID, ownerType, name, category string) (
	entrySum *dao.EntrySum, err error)

Create ...

func Find

func Find(EntryID uuid.UUID, IsDeleted bool) (entry *dao.Entry, err error)

Find ...

func FindByOwnerID

func FindByOwnerID(userID, ownerID, ownerType string, IsDeleted bool) (
	entries []*dao.EntrySum, err error)

FindByOwnerID ...

func Update

func Update(userID string, EntryID uuid.UUID, changes map[string]interface{}) (
	entrySum *dao.EntrySum, err error)

Update ...

func UpdateDeleted added in v0.2.0

func UpdateDeleted(userID string, EntryID uuid.UUID, isDeleted bool) (
	entrySum *dao.EntrySum, err error)

UpdateDeleted ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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