-
Notifications
You must be signed in to change notification settings - Fork 365
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
脚本update后,无法运行,错误日志如下 #82
Comments
我也是 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`` is not officially supported, running under compatibility mode.
2019/09/09 18:31:43 &{ 0 false 0 {0xc0001b0410} {{0 0} {} map[] 0} 0xc0000b8dc0 0x10977e0 0xc0001c3d40 false}
2019/09/09 18:31:43 sql: unknown driver "" (forgotten import?)
2019/09/09 18:31:43 [info] replacing callback
gorm:update_time_stamp
from /Users/aimer/go/src/github.com/auxpi/models/models.go:802019/09/09 18:31:43 [info] replacing callback `gorm:update_time_stamp` from /Users/aimer/go/src/github.com/auxpi/models/models.go:81
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8cb996]
goroutine 1 [running]:
database/sql.(*DB).SetMaxIdleConns(0x0, 0xa)
/usr/local/Cellar/go/1.11/libexec/src/database/sql/sql.go:814 +0x26
github.com/auxpi/models.init.0()
/Users/aimer/go/src/github.com/auxpi/models/models.go:84 +0x85a
The text was updated successfully, but these errors were encountered: