1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00

panic when have not -conf (#40)

This commit is contained in:
Felix Hao
2019-04-25 14:13:54 +08:00
committed by GitHub
parent 22cae18871
commit bd2d576848
+1
View File
@@ -24,6 +24,7 @@ func Init() (err error) {
DefaultClient, err = NewFile(confPath)
} else {
// TODO: config service
panic("Please specify a file or dir name by -conf flag.")
return
}
if err != nil {