package helper import ( "testing" ) func TestDateStringToTime(t *testing.T) { got, err := DateStringToTime("2024-01-01 00:00:00") if err != nil { t.Errorf("DateStringToTime() error = %v", err) return } t.Log(got) }