diff --git a/mongo_repository_test.go b/mongo_repository_test.go index b77537b..3d15c33 100644 --- a/mongo_repository_test.go +++ b/mongo_repository_test.go @@ -21,7 +21,7 @@ type TestDocument struct { CreatedAt time.Time `bson:"created_at"` } -func (d TestDocument) GetID() interface{} { +func (d TestDocument) GetID() string { return d.ID }