Skip to content

Commit

Permalink
Merge pull request #370 from LerianStudio/test/MIDAZ-340
Browse files Browse the repository at this point in the history
Test/MIDAZ-340
  • Loading branch information
MartinezAvellan authored Dec 10, 2024
2 parents 3506810 + b078adf commit a800984
Show file tree
Hide file tree
Showing 51 changed files with 4,488 additions and 1,723 deletions.
3 changes: 2 additions & 1 deletion components/ledger/internal/adapters/http/in/ledger.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package in

import (
"go.mongodb.org/mongo-driver/bson"
"os"
"reflect"

"go.mongodb.org/mongo-driver/bson"

"github.com/LerianStudio/midaz/components/ledger/internal/services/command"
"github.com/LerianStudio/midaz/components/ledger/internal/services/query"
"github.com/LerianStudio/midaz/pkg"
Expand Down
8 changes: 4 additions & 4 deletions components/ledger/internal/adapters/http/in/routes.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package in

import (
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/cors"
fiberSwagger "github.com/swaggo/fiber-swagger"

_ "github.com/LerianStudio/midaz/components/ledger/api"
"github.com/LerianStudio/midaz/pkg/mcasdoor"
"github.com/LerianStudio/midaz/pkg/mlog"
"github.com/LerianStudio/midaz/pkg/mmodel"
"github.com/LerianStudio/midaz/pkg/mopentelemetry"
"github.com/LerianStudio/midaz/pkg/net/http"

"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/cors"
"github.com/swaggo/fiber-swagger"
)

// NewRouter registerNewRouters routes to the Server.
Expand Down
47 changes: 24 additions & 23 deletions components/ledger/internal/adapters/mongodb/metadata.mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package mongodb
import (
"context"
"errors"
"strings"
"time"

"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
"strings"
"time"

"github.com/LerianStudio/midaz/pkg"
"github.com/LerianStudio/midaz/pkg/constant"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a800984

Please sign in to comment.