repository

package
v0.0.0-...-34664d9 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func NewRepository

func NewRepository(dbClient *db.MongoDB) *Repository

func (*Repository) GetAllTransaction

func (r *Repository) GetAllTransaction() (res []*model.Transaction)

func (*Repository) InsertOneTransaction

func (r *Repository) InsertOneTransaction(trx *model.Transaction) (err error)

Jump to

Keyboard shortcuts

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