fix: 修复配置文件路径问题

This commit is contained in:
Mmx
2021-09-20 09:20:03 +08:00
parent 12e9b00324
commit bb45aa9971
5 changed files with 6 additions and 23 deletions

View File

@@ -1,19 +0,0 @@
package util
import "reflect"
type reflectR struct{}
var Reflect reflectR
func (*reflectR) IsEmpty(v reflect.Value) bool {
switch v.Kind() {
case reflect.Bool:
return !v.Bool()
case reflect.String:
return v.String() == ""
default:
panic("未设定值")
}
return false
}