package
1.38.0
Repository: https://github.com/lerianstudio/midaz.git
Documentation: pkg.go.dev

# Functions

NewMockRepository creates a new mock instance.
NewOperationPostgreSQLRepository returns a new instance of OperationPostgreSQLRepository using the given Postgres connection.

# Structs

Amount structure for marshaling/unmarshalling JSON.
Balance structure for marshaling/unmarshalling JSON.
MockRepository is a mock of Repository interface.
MockRepositoryMockRecorder is the mock recorder for MockRepository.
Operation is a struct designed to encapsulate response payload data.
OperationLog is a struct designed to represent the operation data that should be stored in the audit log.
OperationPostgreSQLModel represents the entity OperationPostgreSQLModel into SQL context in Database.
OperationPostgreSQLRepository is a Postgresql-specific implementation of the OperationRepository.
Status structure for marshaling/unmarshalling JSON.
UpdateOperationInput is a struct design to encapsulate payload data.

# Interfaces

Repository provides an interface for operations related to operation template entities.