提取公共包

master
shenzhuan 2 years ago
parent 11ab235641
commit 9a7235f41d

@ -14,10 +14,10 @@ import (
"go-micro.dev/v4/web"
//"goproduct/common"
common "git.mashibing.com/msb_47094/shopping-comm"
"goproduct/proto"
"log"
"net"
"net/http"
"shoppingCart/proto"
"strconv"
"github.com/gin-gonic/gin"

@ -2,8 +2,8 @@ package repository
import (
"fmt"
"goproduct/domain/model"
"goproduct/proto"
"shoppingCart/domain/model"
"shoppingCart/proto"
"time"
"gorm.io/gorm"

@ -1,9 +1,9 @@
package service
import (
"goproduct/domain/model"
"goproduct/domain/repository"
"goproduct/proto"
"shoppingCart/domain/model"
"shoppingCart/domain/repository"
"shoppingCart/proto"
)
type ICartService interface {

@ -3,8 +3,8 @@ package handler
import (
"context"
"fmt"
"goproduct/domain/service"
"goproduct/proto"
"shoppingCart/domain/service"
"shoppingCart/proto"
)
type CartHandler struct {

@ -8,11 +8,11 @@ import (
"github.com/opentracing/opentracing-go"
"go-micro.dev/v4"
"go-micro.dev/v4/registry"
"goproduct/domain/repository"
"goproduct/domain/service"
"goproduct/handler"
"goproduct/proto"
"log"
"shoppingCart/domain/repository"
"shoppingCart/domain/service"
"shoppingCart/handler"
"shoppingCart/proto"
"time"
)

Loading…
Cancel
Save