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