Skip to content

Commit

Permalink
support auto increment id
Browse files Browse the repository at this point in the history
  • Loading branch information
Geapefurit committed Nov 22, 2023
1 parent 8417704 commit 765dc17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/sphinx-proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"os"

"github.com/NpoolPlatform/go-service-framework/pkg/app"
"github.com/NpoolPlatform/go-service-framework/pkg/config"
"github.com/NpoolPlatform/go-service-framework/pkg/logger"
mysqlconst "github.com/NpoolPlatform/go-service-framework/pkg/mysql/const"
redisconst "github.com/NpoolPlatform/go-service-framework/pkg/redis/const"
"github.com/NpoolPlatform/sphinx-proxy/pkg/servicename"
cli "github.com/urfave/cli/v2"
)
Expand All @@ -29,7 +29,8 @@ func main() {
"./",
nil,
commands,
config.ServiceNameToNamespace(mysqlconst.MysqlServiceName),
mysqlconst.MysqlServiceName,
redisconst.RedisServiceName,
)
if err != nil {
logger.Sugar().Errorf("fail to create %v: %v", serviceName, err)
Expand Down

0 comments on commit 765dc17

Please sign in to comment.