style: gofmt test files

This commit is contained in:
2026-10-07 20:58:44 +02:00
parent 5a3a1df3c8
commit 3efd539e0f
4 changed files with 73 additions and 63 deletions
+5 -5
View File
@@ -26,11 +26,11 @@ func (u TestUser) TableName() string {
}
type TestPost struct {
ID int `db:"id"`
Title string `db:"title"`
Content string `db:"content"`
UserID int `db:"user_id"`
User *TestUser `bun:"rel:belongs-to,join:user_id=id"`
ID int `db:"id"`
Title string `db:"title"`
Content string `db:"content"`
UserID int `db:"user_id"`
User *TestUser `bun:"rel:belongs-to,join:user_id=id"`
Comments []TestComment `bun:"rel:has-many,join:id=post_id"`
}