Skip to content
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

Open
bterys opened this issue Sep 9, 2019 · 1 comment
Open

脚本update后,无法运行,错误日志如下 #82

bterys opened this issue Sep 9, 2019 · 1 comment

Comments

@bterys
Copy link

bterys commented Sep 9, 2019

`` 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:80
2019/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

@wq163
Copy link

wq163 commented Aug 4, 2020

我也是

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants