feat: use db

This commit is contained in:
Rogee
2024-09-02 18:01:38 +08:00
parent 472fe2ffaf
commit 98cd1a0365
18 changed files with 477 additions and 136 deletions

6
Makefile Normal file
View File

@@ -0,0 +1,6 @@
.PHONY: model
model:
rm -rf ./database
jet -dsn=postgresql://postgres:xixi0202@10.1.1.3:5432/telegram_resource?sslmode=disable -path=./database
# gofumpt -w -l -extra ./database