mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-10 20:20:25 +08:00
实现自动清理服务访问日志
This commit is contained in:
13
internal/db/db_test.go
Normal file
13
internal/db/db_test.go
Normal 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())
|
||||
}
|
||||
Reference in New Issue
Block a user