添加mysql的调试代码
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package gormx_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"code.yun.ink/pkg/gormx"
|
||||
)
|
||||
|
||||
func TestGormx(t *testing.T) {
|
||||
db := gormx.NewGorm(gormx.SetMysql(
|
||||
"root",
|
||||
"Huang@Yun.Ink123",
|
||||
"127.0.0.1",
|
||||
"xiaoxin-plus",
|
||||
3306,
|
||||
))
|
||||
db.Get("")
|
||||
}
|
||||
Reference in New Issue
Block a user