diff --git a/databases/Text.go b/databases/Text.go index 56a2bb4..93a3bef 100644 --- a/databases/Text.go +++ b/databases/Text.go @@ -1,8 +1,6 @@ package databases import ( - "time" - "go.mongodb.org/mongo-driver/v2/bson" "go.mongodb.org/mongo-driver/v2/mongo" ) @@ -11,7 +9,7 @@ type Text struct { Id bson.ObjectID `bson:"_id"` Text string Persona string - CreatedAt time.Time `bson:"created_at"` + CreatedAt bson.DateTime `bson:"created_at"` } var Texts *mongo.Collection = Client.Database("muffin_ai_test").Collection("text")