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:
parent
17c3b06b21
commit
74ebf2aa14
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user