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:
parent
29cc169d20
commit
750a8465f5
106 changed files with 731 additions and 42 deletions
|
@ -12,7 +12,6 @@ import (
|
|||
"encoding/hex"
|
||||
"errors"
|
||||
"fmt"
|
||||
_ "image/jpeg" // Needed for jpeg support
|
||||
"net/url"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
@ -21,6 +20,8 @@ import (
|
|||
"time"
|
||||
"unicode/utf8"
|
||||
|
||||
_ "image/jpeg" // Needed for jpeg support
|
||||
|
||||
"code.gitea.io/gitea/models/db"
|
||||
"code.gitea.io/gitea/models/login"
|
||||
"code.gitea.io/gitea/models/unit"
|
||||
|
@ -39,7 +40,6 @@ import (
|
|||
"golang.org/x/crypto/bcrypt"
|
||||
"golang.org/x/crypto/pbkdf2"
|
||||
"golang.org/x/crypto/scrypt"
|
||||
|
||||
"xorm.io/builder"
|
||||
"xorm.io/xorm"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue