feat: 结构整理

This commit is contained in:
2021-12-14 14:31:18 +08:00
parent 28fdd5a348
commit e321686d4b
5 changed files with 42 additions and 29 deletions
+7
View File
@@ -10,4 +10,11 @@ const (
Etcd = "etcd"
EtcdEnd = "endpoints"
EtcdEndDefault = "127.0.0.1:2379"
Port
PortDefault = "8080"
)
//mysql 数据库实例名称
const (
TestDB = "test"
)
+2
View File
@@ -3,4 +3,6 @@ package consts
const (
EtcConnError = "etcConnectError"
ErrorReason = "reason"
PanicError = "panicError"
GormError = "gormErr"
)