数据库更换为SQlite-go
This commit is contained in:
@@ -45,7 +45,7 @@ type User struct {
|
||||
|
||||
func InitDB() error {
|
||||
var err error
|
||||
DB, err = sql.Open("sqlite3", "./frpc-console.db")
|
||||
DB, err = sql.Open("sqlite", "./frpc-console.db")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user