service

package
v0.0.0-...-d2da372 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Statement

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

func NewStatement

func NewStatement(data database.DataManager) *Statement

func (*Statement) GetStatement

func (s *Statement) GetStatement(clientID string) (client *domain.Client, transactions []*domain.Transaction, err error)

type Transaction

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

func NewTransaction

func NewTransaction(service *service.Transaction, data database.DataManager) *Transaction

func (*Transaction) Create

func (s *Transaction) Create(input dto.TransactionInput, clientID string) (client *domain.Client, err error)

Jump to

Keyboard shortcuts

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