From e55cdfa4b3fbcf8b80baf009e8ddb2e40d471494 Mon Sep 17 00:00:00 2001 From: chenrui Date: Tue, 8 Mar 2022 17:48:01 +0800 Subject: [PATCH] chore: go lint --- utils/tests/models.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/tests/models.go b/utils/tests/models.go index d4fe754b..22e8e659 100644 --- a/utils/tests/models.go +++ b/utils/tests/models.go @@ -87,6 +87,7 @@ type Parent struct { FavChild *Child Children []*Child } + type Child struct { gorm.Model Name string