This commit is contained in:
邹宗楠
2025-02-19 14:18:57 +08:00
parent d78599ebd4
commit b78aae3c0a

View File

@@ -40,8 +40,9 @@ func TestOrderGet(t *testing.T) {
}
func TestNamegetTimeFromInterface1(t *testing.T) {
fmt.Println(getTimeFromInterface1(1722394671))
fmt.Println(getTimeFromInterface1(1722394671) == utils.ZeroTimeValue)
fmt.Println((1 & 4) != 0) // 删除
fmt.Println((1 & 2) != 0) // 创建
fmt.Println((1 & 1) != 0) // 更新
}
func getTimeFromInterface1(timeValue interface{}) time.Time {
var timeStamp int64