use github.com/alimy/tryst/cfg instead github.com/alimy/cfg

pull/373/head
Michael Li 1 year ago
parent 2034eda2ad
commit 866bd13ff4
No known key found for this signature in database

@ -12,7 +12,7 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/fatih/color" "github.com/fatih/color"
"github.com/getsentry/sentry-go" "github.com/getsentry/sentry-go"
"github.com/rocboss/paopao-ce/cmd" "github.com/rocboss/paopao-ce/cmd"

@ -5,8 +5,8 @@ go 1.20
require ( require (
github.com/Masterminds/semver/v3 v3.2.1 github.com/Masterminds/semver/v3 v3.2.1
github.com/afocus/captcha v0.0.0-20191010092841-4bd1f21c8868 github.com/afocus/captcha v0.0.0-20191010092841-4bd1f21c8868
github.com/alimy/cfg v0.4.0
github.com/alimy/mir/v4 v4.0.0 github.com/alimy/mir/v4 v4.0.0
github.com/alimy/tryst v0.3.0
github.com/aliyun/aliyun-oss-go-sdk v2.2.8+incompatible github.com/aliyun/aliyun-oss-go-sdk v2.2.8+incompatible
github.com/allegro/bigcache/v3 v3.1.0 github.com/allegro/bigcache/v3 v3.1.0
github.com/bufbuild/connect-go v1.10.0 github.com/bufbuild/connect-go v1.10.0

@ -123,10 +123,10 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0=
github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk=
github.com/alimy/cfg v0.4.0 h1:SslKPndmxRViT1ePWLmNsEq7okYP0GVeuowQlRWZPkw=
github.com/alimy/cfg v0.4.0/go.mod h1:rOxbasTH2srl6StAjNF5Vyi8bfrdkl3fLGmOYtSw81c=
github.com/alimy/mir/v4 v4.0.0 h1:MzGfmoLjjvR69jbZEmpKJO3tUuqB0RGRv1UWPbtukBg= github.com/alimy/mir/v4 v4.0.0 h1:MzGfmoLjjvR69jbZEmpKJO3tUuqB0RGRv1UWPbtukBg=
github.com/alimy/mir/v4 v4.0.0/go.mod h1:d58dBvw2KImcVbAUANrciEV/of0arMNsI9c/5UNCMMc= github.com/alimy/mir/v4 v4.0.0/go.mod h1:d58dBvw2KImcVbAUANrciEV/of0arMNsI9c/5UNCMMc=
github.com/alimy/tryst v0.3.0 h1:8oeKy8iQQnO6BCs0YGJBnVyVxi6Y3w18n5Xz/uefUtk=
github.com/alimy/tryst v0.3.0/go.mod h1:K//dPeoE/nnv2Jw8C3iPE7n8mO6LVqAxVmqbopM9nAk=
github.com/aliyun/aliyun-oss-go-sdk v2.2.8+incompatible h1:6JF1bjhT0WN2srEmijfOFtVWwV91KZ6dJY1/JbdtGrI= github.com/aliyun/aliyun-oss-go-sdk v2.2.8+incompatible h1:6JF1bjhT0WN2srEmijfOFtVWwV91KZ6dJY1/JbdtGrI=
github.com/aliyun/aliyun-oss-go-sdk v2.2.8+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8= github.com/aliyun/aliyun-oss-go-sdk v2.2.8+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8=
github.com/allegro/bigcache/v3 v3.1.0 h1:H2Vp8VOvxcrB91o86fUSVJFqeuz8kpyyB02eH3bSzwk= github.com/allegro/bigcache/v3 v3.1.0 h1:H2Vp8VOvxcrB91o86fUSVJFqeuz8kpyyB02eH3bSzwk=

@ -8,7 +8,7 @@ import (
"log" "log"
"time" "time"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
) )
var ( var (

@ -8,7 +8,7 @@ import (
"database/sql" "database/sql"
"sync" "sync"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

@ -8,7 +8,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"gorm.io/driver/mysql" "gorm.io/driver/mysql"
"gorm.io/driver/postgres" "gorm.io/driver/postgres"

@ -8,7 +8,7 @@ import (
"io" "io"
"time" "time"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/getsentry/sentry-go" "github.com/getsentry/sentry-go"
sentrylogrus "github.com/getsentry/sentry-go/logrus" sentrylogrus "github.com/getsentry/sentry-go/logrus"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"

@ -7,7 +7,7 @@ package conf
import ( import (
"time" "time"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/getsentry/sentry-go" "github.com/getsentry/sentry-go"
"github.com/rocboss/paopao-ce/pkg/version" "github.com/rocboss/paopao-ce/pkg/version"
) )

@ -7,7 +7,7 @@ package dao
import ( import (
"sync" "sync"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/rocboss/paopao-ce/internal/core" "github.com/rocboss/paopao-ce/internal/core"
"github.com/rocboss/paopao-ce/internal/dao/jinzhu" "github.com/rocboss/paopao-ce/internal/dao/jinzhu"
"github.com/rocboss/paopao-ce/internal/dao/sakila" "github.com/rocboss/paopao-ce/internal/dao/sakila"

@ -12,7 +12,7 @@ import (
"sync" "sync"
"github.com/Masterminds/semver/v3" "github.com/Masterminds/semver/v3"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/rocboss/paopao-ce/internal/conf" "github.com/rocboss/paopao-ce/internal/conf"
"github.com/rocboss/paopao-ce/internal/core" "github.com/rocboss/paopao-ce/internal/core"
"github.com/rocboss/paopao-ce/internal/dao/cache" "github.com/rocboss/paopao-ce/internal/dao/cache"

@ -3,7 +3,7 @@ package security
import ( import (
"strings" "strings"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/rocboss/paopao-ce/internal/core" "github.com/rocboss/paopao-ce/internal/core"
) )

@ -12,7 +12,7 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/aliyun/aliyun-oss-go-sdk/oss" "github.com/aliyun/aliyun-oss-go-sdk/oss"
"github.com/huaweicloud/huaweicloud-sdk-go-obs/obs" "github.com/huaweicloud/huaweicloud-sdk-go-obs/obs"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"

@ -8,7 +8,7 @@
package migration package migration
import ( import (
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

@ -10,7 +10,7 @@ package migration
import ( import (
"database/sql" "database/sql"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/golang-migrate/migrate/v4" "github.com/golang-migrate/migrate/v4"
"github.com/golang-migrate/migrate/v4/database" "github.com/golang-migrate/migrate/v4/database"
"github.com/golang-migrate/migrate/v4/database/mysql" "github.com/golang-migrate/migrate/v4/database/mysql"

@ -5,7 +5,7 @@
package chain package chain
import ( import (
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/rocboss/paopao-ce/internal/core/ms" "github.com/rocboss/paopao-ce/internal/core/ms"
"github.com/rocboss/paopao-ce/pkg/app" "github.com/rocboss/paopao-ce/pkg/app"

@ -8,7 +8,7 @@
package docs package docs
import ( import (
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/rocboss/paopao-ce/docs/openapi" "github.com/rocboss/paopao-ce/docs/openapi"
) )

@ -7,7 +7,7 @@ package servants
import ( import (
"net/http" "net/http"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/bufbuild/connect-go" "github.com/bufbuild/connect-go"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/rocboss/paopao-ce/internal/servants/admin" "github.com/rocboss/paopao-ce/internal/servants/admin"

@ -7,7 +7,7 @@ package web
import ( import (
"sync" "sync"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
api "github.com/rocboss/paopao-ce/auto/api/v1" api "github.com/rocboss/paopao-ce/auto/api/v1"
"github.com/rocboss/paopao-ce/internal/conf" "github.com/rocboss/paopao-ce/internal/conf"

@ -8,7 +8,7 @@ import (
"log" "log"
"github.com/Masterminds/semver/v3" "github.com/Masterminds/semver/v3"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/rocboss/paopao-ce/pkg/types" "github.com/rocboss/paopao-ce/pkg/types"
) )

@ -8,7 +8,7 @@
package debug package debug
import ( import (
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

@ -10,7 +10,7 @@ package debug
import ( import (
"os" "os"
"github.com/alimy/cfg" "github.com/alimy/tryst/cfg"
"github.com/pyroscope-io/client/pyroscope" "github.com/pyroscope-io/client/pyroscope"
"github.com/rocboss/paopao-ce/internal/conf" "github.com/rocboss/paopao-ce/internal/conf"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"

Loading…
Cancel
Save