增加time兼容性

This commit is contained in:
hoteas
2022-06-14 09:52:49 +08:00
parent d7a59845eb
commit 07c7a628d1
4 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ func (that Slice) GetString(key int, err ...*Error) string {
return ObjToStr((that)[key])
}
func (that Slice) GetTime(key int, err ...*Error) time.Time {
func (that Slice) GetTime(key int, err ...*Error) *time.Time {
v := ObjToTime((that)[key], err...)
return v