mv src/proto to pkg/proto

This commit is contained in:
xmcy0011 2021-10-11 22:00:38 +08:00
parent 585715adbf
commit bc94d4e0b3
89 changed files with 90 additions and 90 deletions

View File

@ -1,10 +1,10 @@
package apiAuth
import (
pbAuth "Open_IM/pkg/proto/auth"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbAuth "Open_IM/src/proto/auth"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package apiAuth
import (
pbAuth "Open_IM/pkg/proto/auth"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbAuth "Open_IM/src/proto/auth"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package apiChat
import (
pbMsg "Open_IM/pkg/proto/chat"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbMsg "Open_IM/src/proto/chat"
"Open_IM/src/utils"
"context"
"github.com/gin-gonic/gin"

View File

@ -1,10 +1,10 @@
package apiChat
import (
"Open_IM/pkg/proto/chat"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
"Open_IM/src/proto/chat"
"Open_IM/src/utils"
"context"
"github.com/gin-gonic/gin"

View File

@ -1,9 +1,9 @@
package apiChat
import (
pbChat "Open_IM/pkg/proto/chat"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
pbChat "Open_IM/src/proto/chat"
"Open_IM/src/utils"
"context"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"fmt"
"github.com/gin-gonic/gin"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"fmt"
"github.com/gin-gonic/gin"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"fmt"
"github.com/gin-gonic/gin"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"fmt"
"github.com/gin-gonic/gin"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"fmt"
"github.com/gin-gonic/gin"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package friend
import (
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package group
import (
pb "Open_IM/pkg/proto/group"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pb "Open_IM/src/proto/group"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package group
import (
"Open_IM/pkg/proto/group"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
"Open_IM/src/proto/group"
"Open_IM/src/utils"
"context"
"github.com/gin-gonic/gin"

View File

@ -1,10 +1,10 @@
package group
import (
pb "Open_IM/pkg/proto/group"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pb "Open_IM/src/proto/group"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package group
import (
pb "Open_IM/pkg/proto/group"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pb "Open_IM/src/proto/group"
"context"
"fmt"
"github.com/gin-gonic/gin"

View File

@ -1,10 +1,10 @@
package group
import (
"Open_IM/pkg/proto/group"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
"Open_IM/src/proto/group"
"Open_IM/src/utils"
"context"
"github.com/gin-gonic/gin"

View File

@ -1,10 +1,10 @@
package group
import (
pb "Open_IM/pkg/proto/group"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pb "Open_IM/src/proto/group"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package group
import (
pb "Open_IM/pkg/proto/group"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pb "Open_IM/src/proto/group"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package group
import (
pb "Open_IM/pkg/proto/group"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pb "Open_IM/src/proto/group"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package group
import (
"Open_IM/pkg/proto/group"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
"Open_IM/src/proto/group"
"Open_IM/src/utils"
"context"
"github.com/gin-gonic/gin"

View File

@ -7,11 +7,11 @@
package manage
import (
pbChat "Open_IM/pkg/proto/chat"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbChat "Open_IM/src/proto/chat"
"Open_IM/src/utils"
"context"
"github.com/gin-gonic/gin"

View File

@ -7,10 +7,10 @@
package manage
import (
pbUser "Open_IM/pkg/proto/user"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbUser "Open_IM/src/proto/user"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package user
import (
pbUser "Open_IM/pkg/proto/user"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbUser "Open_IM/src/proto/user"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,10 +1,10 @@
package user
import (
pbUser "Open_IM/pkg/proto/user"
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbUser "Open_IM/src/proto/user"
"context"
"github.com/gin-gonic/gin"
"net/http"

View File

@ -1,11 +1,11 @@
package gate
import (
pbChat "Open_IM/pkg/proto/chat"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbChat "Open_IM/src/proto/chat"
"Open_IM/src/utils"
"context"
"encoding/json"

View File

@ -1,11 +1,11 @@
package gate
import (
pbRelay "Open_IM/pkg/proto/relay"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbRelay "Open_IM/src/proto/relay"
"Open_IM/src/utils"
"context"
"encoding/json"

View File

@ -1,9 +1,9 @@
package logic
import (
pbMsg "Open_IM/pkg/proto/chat"
"Open_IM/src/common/db"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
pbMsg "Open_IM/src/proto/chat"
)
func saveUserChat(uid string, pbMsg *pbMsg.MsgSvrToPushSvrChatMsg) error {

View File

@ -1,13 +1,13 @@
package logic
import (
pbMsg "Open_IM/pkg/proto/chat"
pbPush "Open_IM/pkg/proto/push"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
kfk "Open_IM/src/common/kafka"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbMsg "Open_IM/src/proto/chat"
pbPush "Open_IM/src/proto/push"
"Open_IM/src/utils"
"context"
"github.com/Shopify/sarama"

View File

@ -7,12 +7,12 @@
package logic
import (
pbMsg "Open_IM/pkg/proto/chat"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
"Open_IM/src/common/db/mysql_model/im_mysql_msg_model"
kfk "Open_IM/src/common/kafka"
"Open_IM/src/common/log"
pbMsg "Open_IM/src/proto/chat"
"Open_IM/src/utils"
"github.com/Shopify/sarama"
"github.com/golang/protobuf/proto"

View File

@ -10,8 +10,8 @@ import (
"Open_IM/src/common/config"
kfk "Open_IM/src/common/kafka"
"Open_IM/src/common/log"
pbChat "Open_IM/src/proto/chat"
pbRelay "Open_IM/src/proto/relay"
pbChat "Open_IM/pkg/proto/chat"
pbRelay "Open_IM/pkg/proto/relay"
"github.com/Shopify/sarama"
"github.com/golang/protobuf/proto"
)

View File

@ -4,8 +4,8 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
"Open_IM/src/proto/push"
pbRelay "Open_IM/src/proto/relay"
"Open_IM/pkg/proto/push"
pbRelay "Open_IM/pkg/proto/relay"
"Open_IM/src/utils"
"context"
"google.golang.org/grpc"

View File

@ -9,14 +9,14 @@ package logic
import (
rpcChat "Open_IM/internal/rpc/chat"
"Open_IM/internal/rpc/user/internal_service"
pbChat "Open_IM/pkg/proto/chat"
pbGroup "Open_IM/pkg/proto/group"
pbRelay "Open_IM/pkg/proto/relay"
pbGetInfo "Open_IM/pkg/proto/user"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbChat "Open_IM/src/proto/chat"
pbGroup "Open_IM/src/proto/group"
pbRelay "Open_IM/src/proto/relay"
pbGetInfo "Open_IM/src/proto/user"
"Open_IM/src/utils"
"context"
"encoding/json"

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/config"
log2 "Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbAuth "Open_IM/src/proto/auth"
pbAuth "Open_IM/pkg/proto/auth"
"Open_IM/src/utils"
"google.golang.org/grpc"
"net"

View File

@ -3,7 +3,7 @@ package auth
import (
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbAuth "Open_IM/src/proto/auth"
pbAuth "Open_IM/pkg/proto/auth"
"context"
)

View File

@ -3,7 +3,7 @@ package auth
import (
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbAuth "Open_IM/src/proto/auth"
pbAuth "Open_IM/pkg/proto/auth"
"Open_IM/src/utils"
"context"
)

View File

@ -10,7 +10,7 @@ import (
"sort"
"strings"
pbMsg "Open_IM/src/proto/chat"
pbMsg "Open_IM/pkg/proto/chat"
)
func (rpc *rpcChat) GetNewSeq(_ context.Context, in *pbMsg.GetNewSeqReq) (*pbMsg.GetNewSeqResp, error) {

View File

@ -5,7 +5,7 @@ import (
"Open_IM/src/common/kafka"
log2 "Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbChat "Open_IM/src/proto/chat"
pbChat "Open_IM/pkg/proto/chat"
"Open_IM/src/utils"
"google.golang.org/grpc"
"net"

View File

@ -8,8 +8,8 @@ import (
http2 "Open_IM/src/common/http"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbChat "Open_IM/src/proto/chat"
pbGroup "Open_IM/src/proto/group"
pbChat "Open_IM/pkg/proto/chat"
pbGroup "Open_IM/pkg/proto/group"
"Open_IM/src/utils"
"context"
"encoding/json"

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
)

View File

@ -7,8 +7,8 @@ import (
"Open_IM/src/common/constant"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbChat "Open_IM/src/proto/chat"
pbFriend "Open_IM/src/proto/friend"
pbChat "Open_IM/pkg/proto/chat"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
)

View File

@ -1,14 +1,14 @@
package friend
import (
"Open_IM/internal/push/content_struct"
"Open_IM/internal/push/logic"
pbChat "Open_IM/pkg/proto/chat"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbChat "Open_IM/src/proto/chat"
pbFriend "Open_IM/src/proto/friend"
"Open_IM/src/push/content_struct"
"Open_IM/src/push/logic"
"Open_IM/src/utils"
"context"
)

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
)

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
)

View File

@ -6,7 +6,7 @@ import (
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
"fmt"

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
"fmt"

View File

@ -5,7 +5,7 @@ import (
"Open_IM/src/common/constant"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
)

View File

@ -5,7 +5,7 @@ import (
"Open_IM/src/common/constant"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
"fmt"

View File

@ -3,7 +3,7 @@ package friend
import (
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"context"
"fmt"
)

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
)

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbFriend "Open_IM/src/proto/friend"
pbFriend "Open_IM/pkg/proto/friend"
"Open_IM/src/utils"
"context"
)

View File

@ -9,8 +9,8 @@ import (
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbChat "Open_IM/src/proto/chat"
pbGroup "Open_IM/src/proto/group"
pbChat "Open_IM/pkg/proto/chat"
pbGroup "Open_IM/pkg/proto/group"
"Open_IM/src/utils"
"context"
"google.golang.org/grpc"

View File

@ -3,7 +3,7 @@ package group
import (
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
"Open_IM/src/proto/group"
"Open_IM/pkg/proto/group"
"context"
)

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbGroup "Open_IM/src/proto/group"
pbGroup "Open_IM/pkg/proto/group"
"Open_IM/src/utils"
"context"
)

View File

@ -6,12 +6,12 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
"Open_IM/src/common/db"
pbChat "Open_IM/src/proto/chat"
pbChat "Open_IM/pkg/proto/chat"
"encoding/json"
imdb "Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbGroup "Open_IM/src/proto/group"
pbGroup "Open_IM/pkg/proto/group"
"Open_IM/src/utils"
"context"

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/db"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
"Open_IM/src/proto/group"
"Open_IM/pkg/proto/group"
"context"
)

View File

@ -4,7 +4,7 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbGroup "Open_IM/src/proto/group"
pbGroup "Open_IM/pkg/proto/group"
"Open_IM/src/utils"
"context"
)

View File

@ -5,7 +5,7 @@ import (
"Open_IM/src/common/db"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbGroup "Open_IM/src/proto/group"
pbGroup "Open_IM/pkg/proto/group"
"Open_IM/src/utils"
"context"
)

View File

@ -5,7 +5,7 @@ import (
"Open_IM/src/common/constant"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbGroup "Open_IM/src/proto/group"
pbGroup "Open_IM/pkg/proto/group"
"Open_IM/src/utils"
"context"
)

View File

@ -3,7 +3,7 @@ package group
import (
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
"Open_IM/src/proto/group"
"Open_IM/pkg/proto/group"
"context"
)

View File

@ -5,7 +5,7 @@ import (
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbUser "Open_IM/src/proto/user"
pbUser "Open_IM/pkg/proto/user"
"Open_IM/src/utils"
"context"
"google.golang.org/grpc"

View File

@ -1,9 +1,9 @@
package internal_service
import (
pbUser "Open_IM/pkg/proto/user"
"Open_IM/src/common/config"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbUser "Open_IM/src/proto/user"
"context"
"strings"
)

View File

@ -10,7 +10,7 @@ import (
"Open_IM/src/common/config"
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
pbUser "Open_IM/src/proto/user"
pbUser "Open_IM/pkg/proto/user"
"Open_IM/src/utils"
"context"
)

View File

@ -7,9 +7,9 @@ import (
"Open_IM/src/common/db/mysql_model/im_mysql_model"
"Open_IM/src/common/log"
"Open_IM/src/grpc-etcdv3/getcdv3"
pbChat "Open_IM/src/proto/chat"
pbFriend "Open_IM/src/proto/friend"
pbUser "Open_IM/src/proto/user"
pbChat "Open_IM/pkg/proto/chat"
pbFriend "Open_IM/pkg/proto/friend"
pbUser "Open_IM/pkg/proto/user"
"Open_IM/src/utils"
"context"
"strings"

View File

@ -1,9 +1,9 @@
package db
import (
pbMsg "Open_IM/pkg/proto/chat"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
pbMsg "Open_IM/src/proto/chat"
"errors"
"github.com/golang/protobuf/proto"
"gopkg.in/mgo.v2/bson"

View File

@ -1,9 +1,9 @@
package im_mysql_model
import (
"Open_IM/pkg/proto/group"
"Open_IM/src/common/db"
"Open_IM/src/common/log"
"Open_IM/src/proto/group"
"errors"
"time"
)

View File

@ -1,9 +1,9 @@
package im_mysql_model
import (
pbAuth "Open_IM/pkg/proto/auth"
"Open_IM/src/common/config"
"Open_IM/src/common/db"
pbAuth "Open_IM/src/proto/auth"
"Open_IM/src/utils"
_ "github.com/jinzhu/gorm/dialects/mysql"
"time"

View File

@ -7,8 +7,8 @@
package im_mysql_msg_model
import (
pbMsg "Open_IM/pkg/proto/chat"
"Open_IM/src/common/db"
pbMsg "Open_IM/src/proto/chat"
"Open_IM/src/utils"
"database/sql"
"time"

View File

@ -1,12 +1,12 @@
package multi_terminal_login
import (
"Open_IM/internal/push/content_struct"
"Open_IM/internal/push/logic"
pbChat "Open_IM/pkg/proto/chat"
"Open_IM/src/common/config"
"Open_IM/src/common/constant"
"Open_IM/src/common/db"
pbChat "Open_IM/src/proto/chat"
"Open_IM/src/push/content_struct"
"Open_IM/src/push/logic"
"Open_IM/src/utils"
)