refactor: 重构数据库逻辑

This commit is contained in:
lixiangwuxian
2024-10-11 00:14:11 +08:00
parent 7aebdeae56
commit 769308389a
16 changed files with 289 additions and 164 deletions

1
go.mod
View File

@@ -5,6 +5,7 @@ go 1.22.6
require (
github.com/fogleman/gg v1.3.0
github.com/gorilla/websocket v1.5.3
github.com/jmoiron/sqlx v1.4.0
github.com/mattn/go-sqlite3 v1.14.23
github.com/sashabaranov/go-openai v1.30.3
)