From 7dd702d379bca5e28a2b65278b5a373f326c72ca Mon Sep 17 00:00:00 2001 From: Johannes Riecken Date: Wed, 7 Jun 2023 09:02:30 +0200 Subject: [PATCH] Fix incorrect documentation comment (has many -> has one) (#6382) --- utils/tests/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/tests/models.go b/utils/tests/models.go index ec1651a3..a4bad2fc 100644 --- a/utils/tests/models.go +++ b/utils/tests/models.go @@ -11,7 +11,7 @@ import ( // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table) // He speaks many languages (many to many) and has many friends (many to many - single-table) // His pet also has one Toy (has one - polymorphic) -// NamedPet is a reference to a Named `Pets` (has many) +// NamedPet is a reference to a named `Pet` (has one) type User struct { gorm.Model Name string