1
This commit is contained in:
@@ -40,8 +40,9 @@ func TestOrderGet(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestNamegetTimeFromInterface1(t *testing.T) {
|
func TestNamegetTimeFromInterface1(t *testing.T) {
|
||||||
fmt.Println(getTimeFromInterface1(1722394671))
|
fmt.Println((1 & 4) != 0) // 删除
|
||||||
fmt.Println(getTimeFromInterface1(1722394671) == utils.ZeroTimeValue)
|
fmt.Println((1 & 2) != 0) // 创建
|
||||||
|
fmt.Println((1 & 1) != 0) // 更新
|
||||||
}
|
}
|
||||||
func getTimeFromInterface1(timeValue interface{}) time.Time {
|
func getTimeFromInterface1(timeValue interface{}) time.Time {
|
||||||
var timeStamp int64
|
var timeStamp int64
|
||||||
|
|||||||
Reference in New Issue
Block a user