实现自动清理服务访问日志

This commit is contained in:
GoEdgeLab
2021-01-19 12:05:35 +08:00
parent 8ea17ef75f
commit fa9dcc2f04
10 changed files with 188 additions and 18 deletions

13
internal/db/db_test.go Normal file
View File

@@ -0,0 +1,13 @@
package db
import (
"github.com/iwind/TeaGo/Tea"
_ "github.com/iwind/TeaGo/bootstrap"
"github.com/iwind/TeaGo/dbs"
"testing"
)
func TestDB(t *testing.T) {
Tea.Env = "prod"
t.Log(dbs.Default())
}