feat: rework db conn to use sql.DB for better portability
All checks were successful
Build and test / Build (push) Successful in 2m20s

This commit is contained in:
Muyao CHEN
2024-10-15 14:01:53 +02:00
parent 1fb84a3ff4
commit 20ef75b1aa
12 changed files with 102 additions and 54 deletions

View File

@ -16,6 +16,10 @@ db:
# DB name
database: howmuch
max-open-conns: 100
max-idle-conns: 100
max-lifetime: 10s
cache:
host: 127.0.0.1:6379
password: ""