🎨更改gorm默认的sqlite驱动

This commit is contained in:
2024-05-08 17:21:52 +08:00
parent 569c2c56fb
commit 0cc76be9e5
4 changed files with 26 additions and 8 deletions

View File

@@ -4,13 +4,13 @@ import (
"fmt"
"gitee.ltd/lxh/logger"
"github.com/cowardmrx/go_aliyun_oss"
"github.com/glebarez/sqlite"
"github.com/go-resty/resty/v2"
"github.com/redis/go-redis/v9"
"golang.zx2c4.com/wireguard/wgctrl"
"gopkg.in/yaml.v3"
"gorm.io/driver/mysql"
"gorm.io/driver/postgres"
"gorm.io/driver/sqlite"
"gorm.io/gorm"
"log"
"os"