0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-15 10:43:21 +02:00

fix: align struct field formatting for gofmt

This commit is contained in:
yuvrajangadsingh 2026-03-09 12:35:07 +05:30
parent 6d0c41ca94
commit 5acbf6cdb8
No known key found for this signature in database

View File

@ -97,14 +97,14 @@ func CreateCommitComment(ctx *context.Context) {
} }
comment := &issues_model.Comment{ comment := &issues_model.Comment{
Type: issues_model.CommentTypeCommitComment, Type: issues_model.CommentTypeCommitComment,
PosterID: ctx.Doer.ID, PosterID: ctx.Doer.ID,
Poster: ctx.Doer, Poster: ctx.Doer,
CommitSHA: fullSHA, CommitSHA: fullSHA,
TreePath: treePath, TreePath: treePath,
Line: line, Line: line,
Content: content, Content: content,
Patch: patch, Patch: patch,
} }
if err := issues_model.CreateCommitComment(ctx, ctx.Repo.Repository.ID, fullSHA, comment); err != nil { if err := issues_model.CreateCommitComment(ctx, ctx.Repo.Repository.ID, fullSHA, comment); err != nil {