增加time兼容性

This commit is contained in:
hoteas
2022-06-14 09:52:49 +08:00
parent 3b558b22ff
commit 88372e992e
4 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ func (that Map) GetBool(key string, err ...*Error) bool {
}
func (that Map) GetTime(key string, err ...*Error) time.Time {
func (that Map) GetTime(key string, err ...*Error) *time.Time {
v := ObjToTime((that)[key], err...)
return v