repositories

package
v0.0.0-...-e249f0d Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindCustomerByEmail

func FindCustomerByEmail(customer *models.Customer) error

FindCustomerByEmail receives a pointer to a customer and try to find a customer with the email address corresponding

func GetArticleEventByAggregateId

func GetArticleEventByAggregateId(id string) ([]*es.Event, error)

func PersistArticleEvent

func PersistArticleEvent(event *es.Event) error

PersistArticleEvent saves an es.Event in es containing the article as a payload

func PersistCustomer

func PersistCustomer(customer *models.Customer) error

PersistCustomer is used to persist user objects to database

Types

This section is empty.

Jump to

Keyboard shortcuts

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