1
0
Fork 0
forked from forgejo/forgejo

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 731 additions and 42 deletions

View file

@ -16,17 +16,13 @@ import (
"code.gitea.io/gitea/modules/setting"
// Needed for the MySQL driver
_ "github.com/go-sql-driver/mysql"
"xorm.io/xorm"
"xorm.io/xorm/names"
"xorm.io/xorm/schemas"
// Needed for the Postgresql driver
_ "github.com/lib/pq"
// Needed for the MSSQL driver
_ "github.com/denisenkom/go-mssqldb"
_ "github.com/denisenkom/go-mssqldb" // Needed for the MSSQL driver
_ "github.com/go-sql-driver/mysql" // Needed for the MySQL driver
_ "github.com/lib/pq" // Needed for the Postgresql driver
)
var (