Skip to content

Commit

Permalink
[UPD] go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
XC-Zero committed Dec 12, 2023
1 parent fe6cbc9 commit 0751179
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion color/color.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package color

import (
"gitlab.tessan.com/data-center/tessan-erp-common/convert"
"github.com/XC-Zero/zero_common/convert"
"math/rand"
)

Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/XC-Zero/zero_common/config"
"github.com/elastic/go-elasticsearch/v8"
"github.com/elastic/go-elasticsearch/v8/typedapi/core/search"
"github.com/elastic/go-elasticsearch/v8/typedapi/types"
"github.com/elastic/go-elasticsearch/v8/typedapi/types/enums/conflicts"
"github.com/pkg/errors"
"gitlab.tessan.com/data-center/tessan-erp-common/config"
"io"
"log"
)
Expand Down
2 changes: 1 addition & 1 deletion email/email.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package email

import (
"github.com/XC-Zero/zero_common/config"
"github.com/jordan-wright/email"
"gitlab.tessan.com/data-center/tessan-erp-common/config"
"net/smtp"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion email/email_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package email

import (
"gitlab.tessan.com/data-center/tessan-erp-common/config"
"github.com/XC-Zero/zero_common/config"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gitlab.tessan.com/data-center/tessan-erp-common
module github.com/XC-Zero/zero_common

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion http/result_code.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package http

import (
"github.com/XC-Zero/zero_common/component"
"github.com/gin-gonic/gin"
"gitlab.tessan.com/data-center/tessan-erp-common/component"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion influxdb/influxdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package influxdb

import (
"github.com/InfluxCommunity/influxdb3-go/influxdb3"
"gitlab.tessan.com/data-center/tessan-erp-common/config"
"github.com/XC-Zero/zero_common/config"
)

func InitInfluxClient(config config.InfluxDBConfig) (*influxdb3.Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion kafka/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package kafka

import (
"github.com/IBM/sarama"
"gitlab.tessan.com/data-center/tessan-erp-common/config"
"github.com/XC-Zero/zero_common/config"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion minio/client.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package minio

import (
"github.com/XC-Zero/zero_common/config"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"gitlab.tessan.com/data-center/tessan-erp-common/config"
)

func InitMinio(config config.MinioConfig) (*minio.Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion mongo/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package mongo

import (
"context"
"github.com/XC-Zero/zero_common/config"
"github.com/qiniu/qmgo/options"
"gitlab.tessan.com/data-center/tessan-erp-common/config"
"go.mongodb.org/mongo-driver/event"
op "go.mongodb.org/mongo-driver/mongo/options"
"log"
Expand Down
2 changes: 1 addition & 1 deletion mysql/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package mysql

import (
"fmt"
"github.com/XC-Zero/zero_common/config"
"github.com/pkg/errors"
"gitlab.tessan.com/data-center/tessan-erp-common/config"
"gorm.io/driver/mysql"
"gorm.io/gorm"
"gorm.io/gorm/logger"
Expand Down
2 changes: 1 addition & 1 deletion mysql/tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package mysql

import (
"fmt"
"gitlab.tessan.com/data-center/tessan-erp-common/convert"
"github.com/XC-Zero/zero_common/convert"
"gorm.io/gorm/schema"
"reflect"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion redis/client.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package redis

import (
"github.com/XC-Zero/zero_common/config"
"github.com/go-redis/redis/v7"
"gitlab.tessan.com/data-center/tessan-erp-common/config"
)

// InitRedis ...
Expand Down
2 changes: 1 addition & 1 deletion token/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package token
import (
"encoding/base64"
"encoding/json"
"gitlab.tessan.com/data-center/tessan-erp-common/aes"
"github.com/XC-Zero/zero_common/aes"
)

// Token 令牌
Expand Down

0 comments on commit 0751179

Please # to comment.