-
Notifications
You must be signed in to change notification settings - Fork 0
/
investor.go
29 lines (23 loc) · 983 Bytes
/
investor.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"
)
// CreateInvestor implements repository.InvoicesRepo.
func (*postgresStorage) CreateInvestor(ctx context.Context, investor *repository.InvestorEntity, tx *sqlx.Tx) (*repository.InvestorEntity, error) {
panic("unimplemented")
}
// GetInvestor implements repository.InvoicesRepo.
func (*postgresStorage) GetInvestor(ctx context.Context, id uuid.UUID) (*repository.InvestorWithWalletEntity, error) {
panic("unimplemented")
}
// DeleteInvestor implements repository.InvoicesRepo.
func (*postgresStorage) DeleteInvestor(ctx context.Context, id uuid.UUID, tx *sqlx.Tx) error {
panic("unimplemented")
}
// ListInvestor implements repository.InvoicesRepo.
func (*postgresStorage) ListInvestor(ctx context.Context, paging *repository.Paging) ([]repository.InvestorWithWalletEntity, error) {
panic("unimplemented")
}