-
Notifications
You must be signed in to change notification settings - Fork 0
/
wallet.go
29 lines (23 loc) · 990 Bytes
/
wallet.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package postgres
import (
"context"
"github.com/Raj63/golang-microservices/services/invoices/pkg/repository"
"github.com/google/uuid"
"github.com/jmoiron/sqlx"
)
// CreateWallet implements repository.InvoicesRepo.
func (*postgresStorage) CreateWallet(ctx context.Context, investor *repository.WalletEntity, tx *sqlx.Tx) (*repository.WalletEntity, error) {
panic("unimplemented")
}
// GetWallet implements repository.InvoicesRepo.
func (*postgresStorage) GetWallet(ctx context.Context, id uuid.UUID) (*repository.WalletEntity, error) {
panic("unimplemented")
}
// ListWallets implements repository.InvoicesRepo.
func (*postgresStorage) ListWallets(ctx context.Context, paging *repository.Paging) ([]repository.WalletEntity, error) {
panic("unimplemented")
}
// UpdateWallet implements repository.InvoicesRepo.
func (*postgresStorage) UpdateWallet(ctx context.Context, investor *repository.WalletEntity, tx *sqlx.Tx) (*repository.WalletEntity, error) {
panic("unimplemented")
}