1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-08 19:47:21 +00:00

A better go code formatter, and now make fmt can run in Windows (#17684)

* go build / format tools
* re-format imports
This commit is contained in:
wxiaoguang
2021-11-17 20:34:35 +08:00
committed by GitHub
parent 29cc169d20
commit 750a8465f5
106 changed files with 731 additions and 42 deletions

View File

@ -9,10 +9,11 @@ import (
"fmt"
"net"
"net/http"
_ "net/http/pprof" // Used for debugging if enabled and a web server is running
"os"
"strings"
_ "net/http/pprof" // Used for debugging if enabled and a web server is running
"code.gitea.io/gitea/modules/graceful"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"