Skip to content

Fix build #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions db.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ func askForDBConfig(info *dbInfo) config.DatabaseList {

return map[string]config.Database{
"default": {
Host: info.Host,
Port: info.Port,
User: info.User,
Pwd: info.Password,
Name: info.Database,
MaxIdleCon: 5,
MaxOpenCon: 10,
Driver: info.DriverName,
File: "",
Host: info.Host,
Port: info.Port,
User: info.User,
Pwd: info.Password,
Name: info.Database,
MaxIdleConns: 5,
MaxOpenConns: 10,
Driver: info.DriverName,
File: "",
},
}
} else {
Expand Down
25 changes: 24 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,36 @@ go 1.16
require (
github.com/AlecAivazis/survey/v2 v2.3.1
github.com/GoAdminGroup/go-admin v1.2.24
github.com/GoAdminGroup/themes v0.0.43
github.com/ajg/form v1.5.1 // indirect
github.com/buaazp/fasthttprouter v0.1.1 // indirect
github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072 // indirect
github.com/fatih/structs v1.1.0 // indirect
github.com/gavv/httpexpect v2.0.0+incompatible
github.com/gin-gonic/gin v1.9.1 // indirect
github.com/go-sql-driver/mysql v1.6.0 // indirect
github.com/gobuffalo/packr/v2 v2.8.3 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/gorilla/mux v1.6.2
github.com/gorilla/websocket v1.5.1 // indirect
github.com/imkira/go-interpol v1.1.0 // indirect
github.com/jawher/mow.cli v1.2.0
github.com/jinzhu/gorm v1.9.16
github.com/jteeuwen/go-bindata v3.0.7+incompatible
github.com/magiconair/properties v1.8.5
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
github.com/moul/http2curl v1.0.0 // indirect
github.com/schollz/progressbar v1.0.0
github.com/smartystreets/goconvey v1.6.4 // indirect
github.com/sclevine/agouti v3.0.0+incompatible // indirect
github.com/sergi/go-diff v1.3.1 // indirect
github.com/tdewolff/minify/v2 v2.9.21
github.com/valyala/fasthttp v1.50.0 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0 // indirect
github.com/yudai/gojsondiff v1.0.0 // indirect
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect
github.com/yudai/pp v2.0.1+incompatible // indirect
gopkg.in/ini.v1 v1.62.0
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
)
Loading