1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 08:32:40 +08:00

日期时间转换

This commit is contained in:
2022-03-27 10:21:50 +08:00
parent a3d94612d4
commit 96d1d92ac7
2 changed files with 55 additions and 0 deletions

12
dateconv/date_test.go Normal file
View File

@ -0,0 +1,12 @@
package dateconv_test
import (
"testing"
"github.com/charlienet/go-mixed/dateconv"
)
func TestToday(t *testing.T) {
today := dateconv.Today()
t.Log(dateconv.TimeToString(&today))
}