feat: support async message sending now (close #58)

This commit is contained in:
JustSong
2023-05-07 12:58:47 +08:00
parent 1cade7a218
commit 96e08578ec
6 changed files with 120 additions and 19 deletions
+1
View File
@@ -33,6 +33,7 @@ func main() {
if err != nil {
common.FatalLog(err)
}
go channel.LoadAsyncMessages()
defer func() {
err := model.CloseDB()
if err != nil {