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:
parent
6d0c41ca94
commit
5acbf6cdb8
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user