fx build fix
Some checks failed
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/fx/1 Pipeline failed
ci/woodpecker/push/fx/2 Pipeline failed
ci/woodpecker/push/nats Pipeline was successful

This commit is contained in:
Stephan D
2025-11-07 23:50:48 +01:00
parent 0c0eeb27f8
commit 2ee17b0c46
21 changed files with 267 additions and 543 deletions

View File

@@ -5,10 +5,10 @@ import (
"errors"
"strings"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/tech/sendico/ledger/storage/model"
"github.com/tech/sendico/pkg/api/routers/gsresponse"
"github.com/tech/sendico/pkg/merrors"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
"go.uber.org/zap"
"google.golang.org/protobuf/types/known/timestamppb"
)

View File

@@ -9,10 +9,10 @@ import (
"go.mongodb.org/mongo-driver/bson/primitive"
"go.uber.org/zap"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/tech/sendico/ledger/storage"
"github.com/tech/sendico/ledger/storage/model"
"github.com/tech/sendico/pkg/merrors"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
)
type accountStoreStub struct {

View File

@@ -4,11 +4,11 @@ import (
"fmt"
"time"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/shopspring/decimal"
"github.com/tech/sendico/ledger/storage/model"
"github.com/tech/sendico/pkg/merrors"
moneyv1 "github.com/tech/sendico/pkg/proto/common/money/v1"
"github.com/shopspring/decimal"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
"go.mongodb.org/mongo-driver/bson/primitive"
"google.golang.org/protobuf/types/known/timestamppb"
)

View File

@@ -4,12 +4,12 @@ import (
"testing"
"time"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/tech/sendico/ledger/storage/model"
moneyv1 "github.com/tech/sendico/pkg/proto/common/money/v1"
"github.com/shopspring/decimal"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tech/sendico/ledger/storage/model"
moneyv1 "github.com/tech/sendico/pkg/proto/common/money/v1"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
"go.mongodb.org/mongo-driver/bson/primitive"
"google.golang.org/protobuf/types/known/timestamppb"
)

View File

@@ -8,10 +8,10 @@ import (
"testing"
"time"
"github.com/tech/sendico/ledger/storage/model"
me "github.com/tech/sendico/pkg/messaging/envelope"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tech/sendico/ledger/storage/model"
me "github.com/tech/sendico/pkg/messaging/envelope"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.uber.org/zap"
)

View File

@@ -5,12 +5,12 @@ import (
"fmt"
"time"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/tech/sendico/ledger/storage"
"github.com/tech/sendico/ledger/storage/model"
storageMongo "github.com/tech/sendico/ledger/storage/mongo"
"github.com/tech/sendico/pkg/api/routers/gsresponse"
"github.com/tech/sendico/pkg/merrors"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.uber.org/zap"
)

View File

@@ -5,12 +5,12 @@ import (
"fmt"
"time"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/tech/sendico/ledger/storage"
"github.com/tech/sendico/ledger/storage/model"
storageMongo "github.com/tech/sendico/ledger/storage/mongo"
"github.com/tech/sendico/pkg/api/routers/gsresponse"
"github.com/tech/sendico/pkg/merrors"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.uber.org/zap"
)

View File

@@ -5,12 +5,12 @@ import (
"fmt"
"time"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/tech/sendico/ledger/storage"
"github.com/tech/sendico/ledger/storage/model"
storageMongo "github.com/tech/sendico/ledger/storage/mongo"
"github.com/tech/sendico/pkg/api/routers/gsresponse"
"github.com/tech/sendico/pkg/merrors"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.uber.org/zap"
)

View File

@@ -7,10 +7,10 @@ import (
"fmt"
"time"
"github.com/shopspring/decimal"
"github.com/tech/sendico/ledger/storage"
"github.com/tech/sendico/ledger/storage/model"
"github.com/tech/sendico/pkg/merrors"
"github.com/shopspring/decimal"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.uber.org/zap"
)

View File

@@ -7,11 +7,11 @@ import (
"testing"
"time"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tech/sendico/ledger/storage"
"github.com/tech/sendico/ledger/storage/model"
"github.com/tech/sendico/pkg/merrors"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.uber.org/zap"
)

View File

@@ -5,12 +5,12 @@ import (
"fmt"
"time"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/tech/sendico/ledger/storage"
"github.com/tech/sendico/ledger/storage/model"
storageMongo "github.com/tech/sendico/ledger/storage/mongo"
"github.com/tech/sendico/pkg/api/routers/gsresponse"
"github.com/tech/sendico/pkg/merrors"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.uber.org/zap"
)

View File

@@ -7,11 +7,11 @@ import (
"strconv"
"strings"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/tech/sendico/ledger/storage"
"github.com/tech/sendico/pkg/api/routers/gsresponse"
"github.com/tech/sendico/pkg/merrors"
moneyv1 "github.com/tech/sendico/pkg/proto/common/money/v1"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
"go.uber.org/zap"
"google.golang.org/protobuf/types/known/timestamppb"
)

View File

@@ -7,8 +7,8 @@ import (
"sync"
"time"
feesv1 "github.com/tech/sendico/pkg/proto/billing/fees/v1"
"github.com/shopspring/decimal"
feesv1 "github.com/tech/sendico/pkg/proto/billing/fees/v1"
"google.golang.org/grpc"
"google.golang.org/protobuf/types/known/timestamppb"
@@ -16,11 +16,11 @@ import (
moneyv1 "github.com/tech/sendico/pkg/proto/common/money/v1"
tracev1 "github.com/tech/sendico/pkg/proto/common/trace/v1"
ledgerv1 "github.com/tech/sendico/ledger/internal/generated/service/ledger/v1"
"github.com/tech/sendico/ledger/storage"
"github.com/tech/sendico/pkg/api/routers"
pmessaging "github.com/tech/sendico/pkg/messaging"
"github.com/tech/sendico/pkg/mlogger"
ledgerv1 "github.com/tech/sendico/pkg/proto/ledger/v1"
)
type serviceError string