diff --git a/go.mod b/go.mod index d9dcead..9c427e9 100644 --- a/go.mod +++ b/go.mod @@ -34,7 +34,6 @@ require ( go.opentelemetry.io/otel/sdk v1.16.0 go.opentelemetry.io/otel/trace v1.16.0 golang.org/x/crypto v0.12.0 - golang.org/x/image v0.5.0 google.golang.org/grpc v1.57.0 google.golang.org/protobuf v1.31.0 gorm.io/driver/postgres v1.5.2 @@ -242,7 +241,7 @@ require ( golang.org/x/arch v0.4.0 // indirect golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 // indirect golang.org/x/exp/typeparams v0.0.0-20230817173708-d852ddb80c63 // indirect - golang.org/x/image v0.0.0-20190802002840-cff245a6509b // indirect + golang.org/x/image v0.5.0 // indirect golang.org/x/mod v0.12.0 // indirect golang.org/x/net v0.14.0 // indirect golang.org/x/sync v0.3.0 // indirect diff --git a/src/constant/config/env.go b/src/constant/config/env.go index fc85fde..269f0e1 100644 --- a/src/constant/config/env.go +++ b/src/constant/config/env.go @@ -42,7 +42,7 @@ type envConfig struct { GorseApiKey string `env:"GORSE_APIKEY"` MagicUserId uint32 `env:"MAGIC_USER_ID" envDefault:"1"` ChatGptProxy string `env:"CHATGPT_PROXY"` - PostgreSQLPrefix string `env:"POSTGRESQL_PREFIX"` + PostgreSQLPrefix string `env:"POSTGRESQL_PREFIX" envDefault:""` } func init() {