fix:#7 fixed models lint

This commit is contained in:
Elmar Kresse
2024-06-10 20:49:28 +02:00
parent 277edce302
commit 4e8dfc9588

View File

@@ -25,7 +25,7 @@ import (
func TestEvents_Contains(t *testing.T) {
// parse time for JSONTime "2020-01-01 12:00:00.000Z"
specificTime, _ := time.Parse("2020-01-01T12:00:00.000Z", "2020-01-01 12:00:00.000Z")
specificTime, _ := time.Parse("2006-01-02T15:04:05.000Z", "2020-01-01T12:00:00.000Z")
specificJSONTime := JSONTime(specificTime)
type args struct {
@@ -73,7 +73,7 @@ func TestEvents_Contains(t *testing.T) {
func TestEvent_Equals(t *testing.T) {
specificTime, _ := time.Parse("2020-01-01T12:00:00.000Z", "2020-01-01 12:00:00.000Z")
specificTime, _ := time.Parse("2006-01-02T15:04:05.000Z", "2020-01-01T12:00:00.000Z")
specificJSONTime := JSONTime(specificTime)
type fields struct {