You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
simpleRequest/test/timeUtil/getTime_test.go

21 lines
394 B
Go

/*
* @FileName: getTime_test.go
* @Author: JuneXu
* @CreateTime: 2022/3/21 5:58
* @Description:
*/
package timeUtil
import (
"testing"
)
func TestTimett(t *testing.T) {
t.Log(ThisMorming(TimeFormat.Normal_YMDhms))
t.Log(Currentime())
t.Log(Currentime2(TimeFormat.Normal_YMDhms))
t.Log(HoursAgo(5, TimeFormat.Normal_YMDhms))
t.Log(HoursAgo(5, TimeFormat.Normal_YMDhms))
}