From 74ebf2aa14d8ae86c09872bc2181db92a60018ba Mon Sep 17 00:00:00 2001 From: yuvrajangadsingh Date: Mon, 9 Mar 2026 12:35:07 +0530 Subject: [PATCH] fix: align struct field formatting for gofmt --- routers/web/repo/commit_comment.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/routers/web/repo/commit_comment.go b/routers/web/repo/commit_comment.go index 44bd24fd5a..10f772363c 100644 --- a/routers/web/repo/commit_comment.go +++ b/routers/web/repo/commit_comment.go @@ -97,14 +97,14 @@ func CreateCommitComment(ctx *context.Context) { } comment := &issues_model.Comment{ - Type: issues_model.CommentTypeCommitComment, - PosterID: ctx.Doer.ID, - Poster: ctx.Doer, + Type: issues_model.CommentTypeCommitComment, + PosterID: ctx.Doer.ID, + Poster: ctx.Doer, CommitSHA: fullSHA, - TreePath: treePath, - Line: line, - Content: content, - Patch: patch, + TreePath: treePath, + Line: line, + Content: content, + Patch: patch, } if err := issues_model.CreateCommitComment(ctx, ctx.Repo.Repository.ID, fullSHA, comment); err != nil {