0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-06-01 00:12:28 +02:00

Cleanup: gofumpt

This commit is contained in:
Philip Peterson 2025-05-27 21:07:21 -07:00
parent e984f30bc1
commit a9d2b28ce5
11 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -1,3 +1,6 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package components
import (

View File

@ -105,7 +105,7 @@ func (ctx *Context) HTMLPartial(status int, name templates.TplName) (string, err
return rec.Body.String(), nil
}
func (ctx *Context) Gomponents(status int, html string, tplName string) {
func (ctx *Context) Gomponents(status int, html, tplName string) {
log.Debug("Component: %s", tplName)
err := ctx.Render.Gomponents(ctx.Resp, status, []byte(html))