Commit f2351dfb authored by kzkzzzz's avatar kzkzzzz

change

parent 74df0ed8
...@@ -5,7 +5,6 @@ import ( ...@@ -5,7 +5,6 @@ import (
"os" "os"
"github.com/go-kratos/kratos-layout/internal/conf" "github.com/go-kratos/kratos-layout/internal/conf"
"github.com/go-kratos/kratos/v2"
"github.com/go-kratos/kratos/v2/config" "github.com/go-kratos/kratos/v2/config"
"github.com/go-kratos/kratos/v2/config/file" "github.com/go-kratos/kratos/v2/config/file"
"github.com/go-kratos/kratos/v2/log" "github.com/go-kratos/kratos/v2/log"
...@@ -27,7 +26,7 @@ var ( ...@@ -27,7 +26,7 @@ var (
) )
func init() { func init() {
flag.StringVar(&flagconf, "conf", "../../configs", "config path, eg: -conf config.yaml") flag.StringVar(&flagconf, "conf", "", "config path, eg: -conf config.yaml")
} }
func newApp(logger log.Logger, hs *http.Server, gs *grpc.Server) *kratos.App { func newApp(logger log.Logger, hs *http.Server, gs *grpc.Server) *kratos.App {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment