chore(project): add conf

This commit is contained in:
bandl 2021-09-05 21:27:08 +08:00
parent 8cfed8b325
commit c84873208b
3 changed files with 8 additions and 4 deletions

View File

@ -7,7 +7,7 @@
### 描述(做了什么,变更了什么)
### 测试用例(新增、改动、可能影响的功能)
### 影响到的模块

View File

@ -20,9 +20,9 @@ func init() {
case nil:
case viper.ConfigFileNotFoundError:
formatPath := []string{linuxPath, devPath, devPath}
log.Fatalf("The profile could not be read, read path:%v", formatPath)
log.Fatalf("the profile could not be read, read path:%v", formatPath)
default:
log.Fatalf("The resolution of the profile failed, err: %v", err)
log.Fatalf("the resolution of the profile failed, err: %v", err)
}
}

View File

@ -11,4 +11,8 @@ build:
.PHONY: install
install:
@make build
@make build
.PHONY: dev
dev:
@./bin/storage storage