style: format code with Go fmt and Gofumpt

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

Details: https://github.com/gogs/gogs/pull/8150
This commit is contained in:
deepsource-autofix[bot]
2026-02-06 01:29:34 +00:00
committed by GitHub
parent 4616bd64dd
commit f5daceef55
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ func Initialize(workDir string) *LocalPostgres {
func (pg *LocalPostgres) Launch() error {
log.Info("Launching local PostgreSQL server...")
if err := os.MkdirAll(pg.baseDir, 0700); err != nil {
if err := os.MkdirAll(pg.baseDir, 0o700); err != nil {
return errors.Wrap(err, "mkdir local postgres base")
}