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

@ -6,12 +6,11 @@ package mdstripper
import (
"bytes"
"io"
"net/url"
"strings"
"sync"
"io"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/markup/common"
"code.gitea.io/gitea/modules/setting"

View File

@ -8,6 +8,7 @@ import (
"testing"
. "code.gitea.io/gitea/modules/markup"
_ "code.gitea.io/gitea/modules/markup/markdown"
"github.com/stretchr/testify/assert"