0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-06 07:25:18 +02:00

fix: align struct field formatting for gofmt

This commit is contained in:
yuvrajangadsingh 2026-03-09 12:35:07 +05:30
parent 17c3b06b21
commit 74ebf2aa14

View File

@ -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 {