瀏覽代碼

style: format code with Go fmt and Gofumpt

This commit fixes the style issues introduced in 755f612 according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8111
deepsource-autofix[bot] 2 周之前
父節點
當前提交
5ea7e5f96d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      internal/context/context.go

+ 2 - 2
internal/context/context.go

@@ -49,8 +49,8 @@ type Context struct {
 	Flash   *FlashData
 	Session session.Session
 
-	Resp *Resp
-	Req  *Req
+	Resp           *Resp
+	Req            *Req
 	ResponseWriter http.ResponseWriter
 	Request        *http.Request
 	Data           template.Data