Skip to content

Commit

Permalink
chore: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanMaidurov committed Feb 2, 2024
1 parent e90995a commit f633808
Show file tree
Hide file tree
Showing 22 changed files with 33 additions and 11 deletions.
3 changes: 2 additions & 1 deletion cart/application/cartCache.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import (
"context"
"encoding/gob"
"fmt"
"go.opencensus.io/trace"
"strings"
"time"

"go.opencensus.io/trace"

"flamingo.me/flamingo-commerce/v3/cart/domain/cart"
"flamingo.me/flamingo/v3/core/auth"
"flamingo.me/flamingo/v3/framework/flamingo"
Expand Down
1 change: 1 addition & 0 deletions cart/application/cartReceiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"errors"
"fmt"

"go.opencensus.io/trace"

"flamingo.me/flamingo/v3/core/auth"
Expand Down
1 change: 1 addition & 0 deletions cart/application/cartService.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"encoding/gob"
"fmt"

"go.opencensus.io/trace"

"flamingo.me/flamingo/v3/core/auth"
Expand Down
1 change: 1 addition & 0 deletions cart/application/eventHandling.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package application
import (
"context"
"fmt"

"go.opencensus.io/trace"

"flamingo.me/flamingo/v3/core/auth"
Expand Down
3 changes: 2 additions & 1 deletion cart/domain/decorator/cartDecorator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package decorator

import (
"context"
"go.opencensus.io/trace"
"sort"

"go.opencensus.io/trace"

cartDomain "flamingo.me/flamingo-commerce/v3/cart/domain/cart"

"flamingo.me/flamingo/v3/framework/flamingo"
Expand Down
1 change: 1 addition & 0 deletions cart/domain/events/eventPublishing.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package events

import (
"context"

"go.opencensus.io/trace"

"flamingo.me/flamingo/v3/framework/flamingo"
Expand Down
3 changes: 2 additions & 1 deletion cart/domain/validation/restrictionService.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package validation

import (
"context"
"go.opencensus.io/trace"
"math"

"go.opencensus.io/trace"

"flamingo.me/flamingo/v3/framework/web"

"flamingo.me/flamingo-commerce/v3/cart/domain/cart"
Expand Down
3 changes: 2 additions & 1 deletion cart/infrastructure/defaultCartBehaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package infrastructure
import (
"context"
"fmt"
"go.opencensus.io/trace"
"math/big"
"math/rand"
"strconv"

"go.opencensus.io/trace"

"flamingo.me/flamingo/v3/framework/flamingo"
"github.com/pkg/errors"

Expand Down
1 change: 1 addition & 0 deletions cart/infrastructure/defaultCustomerCartserviceAdapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package infrastructure
import (
"context"
"errors"

"go.opencensus.io/trace"

"flamingo.me/flamingo/v3/core/auth"
Expand Down
3 changes: 2 additions & 1 deletion cart/infrastructure/defaultGuestCartserviceAdapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package infrastructure

import (
"context"
"go.opencensus.io/trace"
"math/rand"
"strconv"

"go.opencensus.io/trace"

"flamingo.me/flamingo-commerce/v3/cart/domain/cart"
"flamingo.me/flamingo/v3/framework/flamingo"
)
Expand Down
3 changes: 2 additions & 1 deletion cart/infrastructure/inMemoryStorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package infrastructure
import (
"context"
"errors"
"go.opencensus.io/trace"
"sync"

"go.opencensus.io/trace"

domaincart "flamingo.me/flamingo-commerce/v3/cart/domain/cart"
)

Expand Down
3 changes: 2 additions & 1 deletion cart/interfaces/controller/cartapicontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package controller

import (
"context"
"go.opencensus.io/trace"
"net/url"
"strconv"

"go.opencensus.io/trace"

"flamingo.me/flamingo-commerce/v3/cart/domain/validation"

formDomain "flamingo.me/form/domain"
Expand Down
3 changes: 2 additions & 1 deletion cart/interfaces/controller/cartcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package controller
import (
"context"
"encoding/gob"
"go.opencensus.io/trace"
"strconv"

"go.opencensus.io/trace"

"flamingo.me/flamingo-commerce/v3/cart/domain/decorator"
"flamingo.me/flamingo-commerce/v3/cart/domain/validation"

Expand Down
1 change: 1 addition & 0 deletions cart/interfaces/templatefunctions/getCart.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package templatefunctions

import (
"context"

"go.opencensus.io/trace"

"flamingo.me/flamingo-commerce/v3/cart/domain/decorator"
Expand Down
1 change: 1 addition & 0 deletions cart/interfaces/templatefunctions/getItemAdjustment.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package templatefunctions

import (
"context"

"go.opencensus.io/trace"

"flamingo.me/flamingo-commerce/v3/cart/application"
Expand Down
1 change: 1 addition & 0 deletions checkout/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,4 @@ New GraphQL related process context store. For more details see [Context store](

### Process Lock
New GraphQL related process lock. For more details see [Locking](#locking)

1 change: 1 addition & 0 deletions checkout/application/orderService.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"encoding/gob"
"errors"
"fmt"

"go.opencensus.io/trace"

"flamingo.me/flamingo/v3/framework/flamingo"
Expand Down
1 change: 1 addition & 0 deletions checkout/application/placeorder/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package placeorder

import (
"context"

"go.opencensus.io/trace"

"flamingo.me/flamingo-commerce/v3/checkout/domain/placeorder/process"
Expand Down
1 change: 1 addition & 0 deletions checkout/application/placeorder/validate_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package placeorder
import (
"context"
"fmt"

"go.opencensus.io/trace"

"flamingo.me/flamingo-commerce/v3/checkout/domain/placeorder/process"
Expand Down
3 changes: 2 additions & 1 deletion checkout/domain/sourcingengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package domain
import (
"context"
"fmt"
"go.opencensus.io/trace"
"math"

"go.opencensus.io/trace"

cartDomain "flamingo.me/flamingo-commerce/v3/cart/domain/cart"

"flamingo.me/flamingo-commerce/v3/cart/domain/decorator"
Expand Down
3 changes: 2 additions & 1 deletion checkout/interfaces/controller/apicontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package controller

import (
"context"
"go.opencensus.io/trace"
"net/http"
"net/url"

"go.opencensus.io/trace"

"flamingo.me/flamingo-commerce/v3/cart/domain/cart"
placeorderDomain "flamingo.me/flamingo-commerce/v3/cart/domain/placeorder"
"flamingo.me/flamingo-commerce/v3/cart/domain/validation"
Expand Down
3 changes: 2 additions & 1 deletion checkout/interfaces/controller/checkoutcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import (
"context"
"encoding/gob"
"errors"
"go.opencensus.io/trace"
"net/http"
"net/url"
"strings"

"go.opencensus.io/trace"

"flamingo.me/flamingo/v3/core/auth"
"flamingo.me/flamingo/v3/framework/flamingo"
"flamingo.me/flamingo/v3/framework/web"
Expand Down

0 comments on commit f633808

Please sign in to comment.